News for hackers. Stuff that matters.
Re:These are things in PHP which make me sad by koenigdavidmj on Friday May 27, 2011 @12:43PM (#2592056)
Even in Hebrew, that is a useless error message...token names should mean what the token means, not what it looks like.
Re:These are things in PHP which make me sad by archivator on Friday May 27, 2011 @02:22PM (#2592502)
Presumably, the tokenizer doesn't know anything about the meaning of the tokens it's extracting. It's the parser's job to attach meaning to tokens.
Re:These are things in PHP which make me sad by burgerbrain on Saturday May 28, 2011 @08:57PM (#2595576)
Presumably, the programmers should pick reasonable token names for the sake of other programmers.

They're all just numbers to the tokenizer...

Re:These are things in PHP which make me sad by gburt on Friday May 27, 2011 @12:47PM (#2592069)
For unexpected token I think what it looks like is more valuable. Unfortunately most English PHP developers don't speak Hebrew. =\