Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8442419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T08:50:18+00:00 2026-06-10T08:50:18+00:00

As I know that the PHP is interpreted language, while it is an interpreted

  • 0

As I know that the PHP is interpreted language,
while it is an interpreted how does it detects the compilation errors from the whole project and if it compiles without generating an object code, what the compilation is needed for ? only for the syntax ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T08:50:19+00:00Added an answer on June 10, 2026 at 8:50 am

    I believe PHP is compiled into an internal data structure, and that internal structure is what is executed. The runtime is not reading the actual program source code line-by-line as it executes. So, the “compile” stage means that the source code is being converted to this internal data structure. At that time, the syntax is also validated and syntax errors will prevent the page from executing.

    Normally, PHP has to do this parse on every request. This makes PHP somewhat slow. However, you can use http://php.net/manual/en/book.apc.php to cache the parsed code, which gives you a pretty significant speedup by avoiding the need to re-parse each time.

    Also, there are various implementations of PHP that actually do compile PHP sources into bytecode or native code. From the performance information I’ve seen, compiling didn’t have a big effect on speed, but it did (in the case of Facebook’s compiler) dramatically reduce RAM consumption.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know that PHP is an interpreted language and for web-based things, isn't designed
I use the PHP language for file upload and want to know that the
Some may know that PHP methods can be remotely invoked from Flash. Sometimes the
I know that PHP is compiled to byte code before it is run on
I'm new to AJAX and PHP but I know that PHP is a server-side
I know that it's not possible to style any given PHP but I do
I know that some other languages, such as PHP , support a concept of
I want to know that whether on a php page we can get browser
So we all know that when iterating through a PHP array using foreach, the
In PHP, I know that mysql_real_escape is much safer than using addslashes . However,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.