Re: T_PAAMAYIM_NEKUDOTAYIM

From: Date: Mon, 01 Sep 2008 02:18:36 +0000
Subject: Re: T_PAAMAYIM_NEKUDOTAYIM
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-279191@lists.php.net to get a copy of this message
On Mon, Sep 1, 2008 at 3:09 AM, Jochem Maas <jochem@iamjochem.com> 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*) :-) > > >> > Ok, and I really love the guys... but hebrew? -- Thanks for your attention, Diogo Neves Web Developer @ SAPO.pt by PrimeIT.pt

« previous php.general (#279191) next »