PHP is a general-purpose server side scripting language. It is well known that the php code are interpreted when the page loads and resulting webpage is shown. Recently I have heard of Just in time compilers for PHP(HipHop Virtual Machine). would like to know what kind of difference would it make in the execution and is it better to have a jit instead of interpreter? are the any php engines that have jit ?
EDIT: Is PHP Execution flow like this ?: php code -> parsing -> tokens -> bytecode/opcode -> php engine interpretation -> machine code -> execution
Corect me if I am wrong. Bytecodes are generally executed in virtual machines. An Opcode( is close to machine language) can be executed by machine directly. Does this mean a php engine is a virtual machine or just some implementations of it are virtual machines?
Thanks in Advance.