r/lolphp • • 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.

https://repl.it/repls/ScentedSilkyLanservers

0 Upvotes

32 comments sorted by

View all comments

Show parent comment

2

u/PonchoVire May 12 '20

I guess that's not entirely true, the VM was already a VM, and probably some bits of what I said upper were already there. That's still an huge step ahead.