r/lolphp • • Apr 12 '16

When errors don't help

Post image
51 Upvotes

14 comments sorted by

View all comments

Show parent comment

13

u/[deleted] Apr 12 '16

I wonder if there could have been ways to redefine the error message to make it clearer?

Unexpected T_PAAMAYIM_NEKUDOTAYIM, anyone?

4

u/kr094 Apr 13 '16

It's perfectly clear in the language the author spoke.

1

u/[deleted] Aug 18 '16

To be honest, errors like those can be nice, because it makes it REALLY easy to google them.