Reputation: 18790
Can you tell me what are the process in a php file compilation.
Upvotes: 0
Views: 164
Reputation: 56948
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.
Upvotes: 4
Reputation: 526583
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.
Upvotes: 5