Re: T_PAAMAYIM_NEKUDOTAYIM

From: Date: Mon, 01 Sep 2008 07:00:12 +0000
Subject: Re: T_PAAMAYIM_NEKUDOTAYIM
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-279195@lists.php.net to get a copy of this message
Jochem Maas wrote:
redirecting to generals mailing list ... Diogo Neves schreef:
php -r 'class B { private static function a() {} public function __callStatic($method, $parms) { echo $method, "\n"; } } $a = new B; $a::a();' Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in Command line code on line 1 Ok, i found the error, but anyway... a what?
it's hebrew for 'double colon' (::), google could have told you this. please note, the internals mailing is for php engine development/developers, I don't think they look forward to this kind of question (t)here. ...we're lucky enough that they tolerate lurkers (*cough*) :-)
It's even in the manual [1]: "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! " - Tul [1] http://www.php.net/manual/en/language.oop5.paamayim-nekudotayim.php

« previous php.general (#279195) next »