Re: [PHP-DEV] T_PAAMAYIM_NEKUDOTAYIM

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux