Saturday, July 25, 2009


I just received a brilliant error from php:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/a5400048/public_html/Compiler.php on line 551.

I truly wasn't expecting a paamayim nekudotayim either. Further inspection showed it actually just meant "COLON". Php....

What I had done was typed "$class::const", while I actually just meant "class::const". It's that they told me where to look, because that error message is as descriptive as "Error: don't feel like continueing on some statement."

No comments: