Unexpected T_PAAMAYIM_NEKUDOTAYIM

In almost every programming language, parsing errors tend to be boring, and PHP is not going to be an exception... unless you get one of these:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM

If you aren't aware, what it means is "Oh, there's an unexpected double colon where it shouldn't have appeared".

But even if it's a bit obscure, sometimes it's funny to get this error. Just for contrasting with all the plainly boring rest, like unexpected '}', unexpected ',' ... all that. Even more funny is that those characters ('::') are also defined as T_DOUBLE_COLON. But why did the programmers decide to use the cryptic error message is something of a mistery for me yet.

The first time I got the error I thought I had found an easter egg! Either that, or the php interpreter had gone nuts...