Re:These are things in PHP which make me sad
by rudiger on Friday May 27, 2011 @01:13PM
(#2592192)
In this case, the Hebrew word literally is T_DOUBLE_COLON, so not much is gained by its use. Perhaps reporting an "unexpected scope resolution operator" error would be better.
[ Parent
| on HN ]
Or, even better:
"Unexpected '::' on line 14."
I wouldn't want to see "Unexpected key/value delimiter" (=>) or "Unexpected opening of new scope" ({). Just show the character(s) you found you weren't expecting.