News for hackers. Stuff that matters.
Re:These are things in PHP which make me sad by user24 on Friday May 27, 2011 @01:22PM (#2592249)
> the error message is still pretty useless.

not at all. A google search for "Paamayim Nekudotayim" gives you thousands of pages relating to exactly the error you're experiencing. It's WAY more useful than "Illegal operation" or "Syntax error".

Re:These are things in PHP which make me sad by generalk on Friday May 27, 2011 @01:42PM (#2592344)

  > It's WAY more useful than "Illegal operation" or "Syntax error".
Wut.

"Syntax error on line 14" -- Okay, time to look at line 14 for a mistyped semicolon or something. These two words Mean Something.

"Unexpected T_PAAMAYIM_NEKUDOTAYIM on line 14" -- means absolutely nothing unless you've already looked it up. It's essentially easily-googleable nonsense. It might as well say "Error 0x444F808E". You can google that, too, and it also tells you nothing useful.

Re:These are things in PHP which make me sad by randallsquared on Friday May 27, 2011 @04:06PM (#2592882)
You would prefer, when encountering an incorrectly used double colon operator, PHP said "Syntax error"? Even when I'm directed to look only at the surrounds of the double colon, it has been difficult to understand the problem in some cases... it looks like valid syntax. Now, you might say that this is a problem with PHP's syntax, and I have no defense against that, but rolling this into "invalid syntax" with no further explanation would cause no end of trouble for those new to OO in PHP.
Re:These are things in PHP which make me sad by eli on Friday May 27, 2011 @04:59PM (#2593042)
Uh, how about "Double colon error" ?
Re:These are things in PHP which make me sad by code_duck on Friday May 27, 2011 @01:53PM (#2592392)
Right, because there are thousands of people going to ask on mailing lists WTF that means. Given the small fraction of developers worldwide who speak Yiddish or Hebrew or whatever, 'double colon' might be a better phrase to use.
Re:These are things in PHP which make me sad by julioc on Friday May 27, 2011 @01:43PM (#2592349)
I still prefer something like "illegal scope operator"