Ashley Etchell

Personal musings & Portfolio

PHP : International error lord

So I made a boo-boo while doing some code and had the WIERDEST error returned:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /xxx/xxxxx/xxxxx/xxxxx/dataTablesWrapper.php on line 15

until a friend of mine googled for that error and found this: Paamayim Nekudotayim (pronounced [paʔamajim nəkudotajim]) is the official name for the Scope Resolution Operator (::) in PHP. It means “twice colon” or “double colon” in Hebrew.

Nekudotayim (נקודתיים) means ‘colon’; it comes from nekuda (IPA: [nəkuda]), ‘point’ or ‘dot’, and the dual suffix ayim (יים-), hence ‘two points’. Similarly, the word paamayim (פעמיים) is derived by attaching the dual suffix to paam (IPA: [paʔam]) (’one time’ or ‘once’), thus yielding ‘twice’.

Still, made me chuckle
My stupid code looked like this BTW:
$cli->class::getNextDay();

Digg this

No comments yet. Be the first.

Leave a reply

You must be logged in to post a comment.