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.
[ Parent
| on HN ]
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...