Re: T_PAAMAYIM_NEKUDOTAYIM

From: Date: Wed, 09 Nov 2005 21:41:53 +0000
Subject: Re: T_PAAMAYIM_NEKUDOTAYIM
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-225469@lists.php.net to get a copy of this message
On Wed, Nov 09, 2005 at 04:27:08PM -0500, Unknown Unknown wrote: > I was working with objects, and suddenly i got this error: > *Parse error*: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in * > D:\Apache\Apache(re)\Apache2\htdocs\Include.php* on line *11* > is this like a bug in PHP or is it a valid error? It is a valid. The T_PAAMAYIM_NEKUDOTAYIM is refering to a the double colon (::) token. You would get that error if you use it wrong, like: 'foo'::bar; Btw, Paamayim Nekudotayim means double colon in hebrew. Curt. --

« previous php.general (#225469) next »