2 ms·
PHP already “compiles” with opcache. But it only happens eventually once a path is requested. Having a cli to explicitly pre-generate all compiled versions whil
by lifeofguenter 24d ago
PHP already “compiles” with opcache. But it only happens eventually once a path is requested. Having a cli to explicitly pre-generate all compiled versions while doing checks would increase the predictability of your code. Maybe even wrap it as .phar to analogue to .jar for a simple arg when running php-fpm.
hacklang is too different. But yah, thats exactly what Facebook had to do to improve PHP within their stack.
- krapp 23d agoHack was the better language for so many reasons. It should have killed PHP instead of the other way around and I'm still annoyed about it.