Re:PHP 5.6 vs. PHP 7 Performance Comparison
by throwaway2016a on Tuesday April 03, 2018 @09:46AM
(#16744513)
The first part is kind of baffling. I'm not even sure what is trying to be said there. English as a second language?
The second one if actually wrong unless something changed very recently, PHP is not JIT compiled (at least not to machine code). It is a bytecode VM. I remember the discussion came up and optimizing the byte code was actually improved performance more than proof of concept JIT did for common PHP use cases.
PHP 8 is supposed to have a JIT I believe.
> One way or another, each programming language is translated to the binary code by using the compiler. PHP is no different. But what makes it unique is a Just in Time engine, that allows compilation of the code during the execution of the program. This principle is also known as dynamic translation.
I mean, I guess this weird explanation is fine for a php consultant, but honestly I wouldn't trust any results presented next a description this wrong.