"is php compiled or interpreted?" Answer’s

0

A compiled code can be executed directly by the computer's CPU. That is, the executable code is specified in the CPU's native language

The code of interpreted languages must be translated at run-time from any format to CPU machine instructions. This translation is done by an interpreter.

It would not be proper to say that a language is interpreted or compiled because interpretation and compilation are both properties of the implementation of that particular language, and not a property of the language itself. So,any language can be compiled or interpreted – it just depends on what the particular implementation that you are using does.

The most widely used PHP implementation is powered by the Zend Engine and known simply as PHP.The Zend Engine compiles PHP source into a format that it can execute, thus the Zend engine works as an interpreter.

Wednesday, March 31, 2021
 
QuantumMechanic
answered 10 Months ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :
 
Share