4 ms·
If this is true and it is just a compiled version of PHP how much better is that going to be than APC or eAccelerator? There must be more to it than just compil
by carson 17y ago
If this is true and it is just a compiled version of PHP how much better is that going to be than APC or eAccelerator? There must be more to it than just compiled PHP.
- wvenable 17y agoThe idea is probably to compile PHP into machine code rather than byte code.
- bad_user 17y agoI know you're thinking machine code must be better than byte-code, but that doesn't do any good, quite the opposite. With byte-code you can compile sections of code to machine-code, based on runtime profiling / type-inference (as the JVM does). With ahead-of-time compiling to machine code, you're probably going to end up with a serialization of the PHP code in the final executable, plus an interpreter :)