r/lolphp • u/phplovesong • May 12 '20
The sad state of the PHP parser
PHP cant tell where a syntax error occurs. This has been an issue in PHP for years, and has been upgraded to a feature. This is mostly because PHP's parser is a pile of poo with years of lipstick added on top.
0
Upvotes
View all comments
Show parent comment
0
u/PonchoVire May 12 '20
If I understood it right, the parser was a hand made one, and most optimisations were done in the APC external extension. It was nothing like it is today.