开发者

How PHP scripts compile?

开发者 https://www.devze.com 2023-01-02 18:49 出处:网络
Can开发者_如何转开发 you tell me what are the process in a php file compilation. PHP files are usually interpreted, not compiled - the interpreter compiles them internally to bytecode, but that is som

Can开发者_如何转开发 you tell me what are the process in a php file compilation.


PHP files are usually interpreted, not compiled - the interpreter compiles them internally to bytecode, but that is something done automatically when a script is invoked, not something done by the programmer.


Actually surprised to see how many compilers there are out there. @learner, you might want to check out http://en.wikipedia.org/wiki/PHP#Compilers for some more info. Seems like there are a number of different compilers that compile to bytecodes java, c++, et al. Facebook notoriously compiles their PHP to C++ and machine now as well.

0

精彩评论

暂无评论...
验证码 换一张
取 消