Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 14

GumCloudLiorVShadowdareericgilletteevdlucluisgzaframattsandinosmwln +4 guests

What on earth is T_PAAMAYIM_NEKUDOTAYIM?

I got this error while developing a plugin (Chrome 7.0 Dev, Vanilla 2.0.3);

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM. Whut?!

Edit: Aha. Should have done a Google search for this first...

Comments

  • Posts: 1,587
    php seems to give a lot of errors like this. You just have to go to the file in gives and have a look for missing syntax.

    Vanilla co-founder

  • Posts: 93
    Yep. Seems it's Hebrew, left in since early php development. Shalom!
  • Ha, cool thing (well, I think so). There are Hebrew translation functions in PHP since much of it was developed by those of a dark hat and curly hair persuasion (oops; bit of a stereotype there!) Hebrew speakers. Things like this, as well as multi-language sites and posts, keep us on our toes. Makes me wonder where we'll be in a hundred years. (Well, we'll be long gone, but you get the idea..!)
  • TimTim
    Posts: 1,573
    Incidentally, the wikipedia article you linked says:
    Wikipedia said:

    In PHP, the scope resolution operator is also called Paamayim Nekudotayim (Hebrew: פעמיים נקודתיים‎, pronounced [paʔaˈmajim nəkudoˈtajim]), which means "twice colon" or "double colon" in Hebrew.

    In actual fact, "PAAMAYIM NEKUDOTAYIM" means "twice, two dots". Two dots (:), twice (::). I found that cool :>

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • Yeah, a lot of languages are very literal, and quite fascinating.
Sign In or Register to comment.