English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2 answers

Because PHP scripts are never compiled in the traditional sense of the word. By default, a script is interpreted every time it is requested. If you have an opcode cache installed, the script is compiled into bytecode on first access and at each consequent access, the bytecode is translated into executable code. Opcode caches are smart enough to know when the script has been updated, so the first time a script is requested after being updated, it will be compiled into bytecode.

2007-11-26 11:03:27 · answer #1 · answered by NC 7 · 1 0

Because those are scripts. There is separate PHP engine on server which interprets the code and executes them. So scripts do not have to be compiled. That is why you can run same script on different servers no matter what its operating systems are.

2007-11-25 07:30:51 · answer #2 · answered by Berkut 2 · 0 0

fedest.com, questions and answers