Hacker News new | ask | show | jobs
by beberlei 1293 days ago
Tokens are left out of parse errors since PHP 8 released 2 years ago

See https://3v4l.org/2T8qQ

1 comments

Weird, I didn't see that trash for so long I thought it was fixed at least in 7.0.
PHP 7 fully reworked the syntax to be more internally consistent and intuitive, so there's a lot less arbitrary restrictions that cause syntax errors.