
- PHP 7 Tutorial
- PHP 7 - Home
- PHP 7 - Introduction
- PHP 7 - Performance
- PHP 7 - Environment Setup
- PHP 7 - Scalar Type Declarations
- PHP 7 - Return Type Declarations
- PHP 7 - Null Coalescing Operator
- PHP 7 - Spaceship Operator
- PHP 7 - Constant Arrays
- PHP 7 - Anonymous Classes
- PHP 7 - Closure::call()
- PHP 7 - Filtered unserialize()
- PHP 7 - IntlChar
- PHP 7 - CSPRNG
- PHP 7 - Expectations
- PHP 7 - use Statement
- PHP 7 - Error Handling
- PHP 7 - Integer Division
- PHP 7 - Session Options
- PHP 7 - Deprecated Features
- PHP 7 - Removed Extensions & SAPIs
- PHP 7 Useful Resources
- PHP 7 - Quick Guide
- PHP 7 - Useful Resources
- PHP 7 - Discussion
Is PHP compiled or interpreted?
Basically, PHP is interpreted but PHP is compiled down to an intermediate bytecode that is then interpreted by the runtime Zend engine.
PHP compiler is responsible for
- convert the code to a bytecode that can be used by the runtime engine.
- resolve functions, names and classes names
- creating a symbol table
PHP Interpreter does
- Goes through the bytecode line by line and executes it
- Handles runtime exception
- Related Articles
- Perl is Interpreted or Compiled Language?
- Why java is both compiled and interpreted language.
- How is JavaScript an interpreted language?
- Explain how Python is an interpreted language
- How is the Pyplot histogram bins interpreted? (Matplotlib)
- How to determine whether C++ code has been compiled in 32 or 64 bit?
- Which is better PHP SOAP or NuSOAP?
- Which is better: PHP or Python? Why?
- Can we keep Python modules in compiled format?
- What is the execution result when a DB2 program is compiled and bound on separate days?
- What is the execution result when a DB2 program is compiled and binded on separate days?
- PHP_CodeSniffer, PHPMD or PHP Depend
- Which is faster? Constants, Variables or Variable Arrays in PHP?
- What is faster: many ifs, or else if in PHP?
- Display game is in BUY or TRY mode PHP conditions?

Advertisements