Nice article!
But PHP is more on the line of "virtual machine languages" than "interpreted languages".
PHP is "compiled" to what's called opcodes just once, the first time the program is executed.
After that, the "compiled" opcodes are stored in what we usually call "opcache" and the Zend Engine (PHP's VM) won't need rerecompile the application.
In PHP 7.4 preloading was introduced, making "opcache" even better, saving the compiled code in memory.
PHP 8 will introduce JIT (Just In Time compiler).
This is just an addition to your great article, because PHP doen't do this "translation" or "compilation" everytime it runs.
:-D
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article!
But PHP is more on the line of "virtual machine languages" than "interpreted languages".
PHP is "compiled" to what's called opcodes just once, the first time the program is executed.
After that, the "compiled" opcodes are stored in what we usually call "opcache" and the Zend Engine (PHP's VM) won't need rerecompile the application.
In PHP 7.4 preloading was introduced, making "opcache" even better, saving the compiled code in memory.
PHP 8 will introduce JIT (Just In Time compiler).
This is just an addition to your great article, because PHP doen't do this "translation" or "compilation" everytime it runs.
:-D