Re: T_PAAMAYIM_NEKUDOTAYIM
| From: | Jochem Maas | Date: | Mon, 01 Sep 2008 02:09:44 +0000 |
| Subject: | Re: T_PAAMAYIM_NEKUDOTAYIM | ||
| References: | 1 | Groups: | php.general php.internals |
| Request: | Send a blank email to internals+get-40194@lists.php.net to get a copy of this message | ||
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*) :-)