PHP Internals News: Episode 2: PHP Compiler and FFI
derickrethans.nl/phpinternalsnews-02.htmlPosted Mar 22, 2019, 6:54 AM UTC
134
Posted Mar 22, 2019, 6:54 AM UTC
What does this do exactly? Does it compile php code to an executable or some sort of binary for faster web pages?
Also can it compile any php code or is it limited to certain functions?
Would be nice to have an introduction or something.
There was some discussion on here, with a link to the repo for the compiler. It's a proof of concept that compiles to a binary.
It compiles to a binary, but it also compiles "just in time" and allows you to execute code right inline with other code (without needing to compile a binary first).
https://open.spotify.com/show/1Qcd282SDWGF3FSVuG6kuB?si=N_X6LOy9RvKsd6XbNU4UZA
follow it!