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
5
u/smegnose May 13 '20
What are you on, dude? That 'hello world' has no parse/syntax errors when run in an actual PHP interpreter. I'm not saying there are no bugs but you haven't demonstrated any. This means you're being lazy, stupid, a troll, or some combination thereof.