PHP Error Messages
Just to add a little flavour to the world of PHP, we’ve discovered one of the best error messages ever:
“Unexpected T_PAAMAYIM_NEKUDOTAYIM”
Now, whilst you may think this is some kind of unexpected alien attack, it is in fact hebrew (oh, how my ancestors would be so proud), meaning 2 colons. That’s not in the sense that it is a biological error, though I’m sure anyone with 2 colons would have cause to worry, but it is more literally the use of 2 colons in an unexpected way:
$variable::someAction()
when I meant to type
Class::someAction()
So, now you are all aware of what to do when you too find an unexpected T_PAAMAYIM_NEKUDOTAYIM.

































