21

What's the story behind the ::'s sometimes token name

T_PAAMAYIM_NEKUDOTAYIM

I'm mainly interested in knowing if

  1. This is an abbreviation for something else.
  2. This is a phrase in a language other than English, and if so what's the language and what's a rough translation.
  3. This is some obscure-to-me programming term.
  4. Drunk developers.
Peter Mortensen
  • 30,738
  • 21
  • 105
  • 131
Alana Storm
  • 164,128
  • 91
  • 395
  • 599

2 Answers2

37

From the PHP docs:

Paamayim Nekudotayim would, at first, seem like a strange choice for naming a double-colon. However, while writing the Zend Engine 0.5 (which powers PHP 3), that's what the Zend team decided to call it. It actually does mean double-colon - in Hebrew!

Chad Birch
  • 73,098
  • 23
  • 151
  • 149
  • 27
    _Paamayim Nekudotayim would, **at first**, seem like a strange choice for naming_ No, even knowing it's definition, it **always** seems like a strange choice. – chris-l Sep 22 '14 at 17:55
4

It's the scope resolution operator.

Klaus Byskov Pedersen
  • 117,245
  • 29
  • 183
  • 222