Just looking around google and I managed to find a article on a funny php error message.... Run this code

$SomeObject::someMethod();

its got to do with the ::

    Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM in Command line code on line 1

    Yes? Not exactly ROFL here.

      Hmm, I don't know how funny it is, either. An unexpected "pair of colons" is just that, whether in English, Danish, Russian, Hebrew, whatever ....

      Probably either a little Easter Egg, in which case it's supposed to be funny, or else a genuine mistake (Zeev's from Israel, isn't he? Heck, isn't the whole company there?)

      Or, in line with the first guess, maybe they just wanted to keep PHP in the somewhat obfuscated UNIX tradition regarding naming conventions. Or maybe he/they just wanted to see what would happen ....

        The funniest part (for a given value of "funny") I can see is that T_PAAMAYIM_NEKUDOTAYIM is apparently misspelled. But then, so's HTTP_REFERER and doesn't have the excuse of being a transliteration from another alphabet.

          Yeah the whole compeny is here (I'm from israel too).
          I really don't get why they named it in hebrew, couldn't they just write double colon? X_x

            Write a Reply...