HTTP/1.1 200 OK Date: Sun, 25 Jun 2006 19:55:19 GMT Server: Apache X-powered-by: PHP/5.1.4-pl3-gentoo Connection: close Transfer-encoding: chunked Content-type: text/html 1f98 Paamayim Nekudotayim - Wikipedia, the free encyclopedia
Your continued donations keep Wikipedia running!    

Paamayim Nekudotayim

From Wikipedia, the free encyclopedia

Jump to: navigation, search

The Scope Resolution Operator (::) in PHP is officially called Paamayim Nekudotayim (IPA: [paʔamajim nəkudotajim]). It means 'twice colon' or 'double colon' in Hebrew.


Etymology

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'.

The name was introduced in the Zend Engine 0.5 used in PHP 3. Although it has been confusing to many developers, it is still being used in PHP 5, as in this sample error message:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in...

See also

References

  • [1] PHP5 OOP Manual chapter that explains the Paamayim Nekudotayim
Personal tools
In other languages
0