RE: [PHP] php4.2.0 (win) error message question

From: Date: Tue, 21 May 2002 03:19:18 +0000
Subject: RE: [PHP] php4.2.0 (win) error message question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-98553@lists.php.net to get a copy of this message
try looking it up in the manual on php.net i just did a search for it and found a few results such as http://www.php.net/manual/en/tokens.php#AEN98855 which leads to (when you find it in the table) http://www.php.net/manual/en/keyword.paamayim-nekudotayim.php -----Original Message----- From: Martin Towell [mailto:martin.towell@world.net] Sent: Tuesday, 21 May 2002 12:55 PM To: 'php-general@lists.php.net' Subject: [PHP] php4.2.0 (win) error message question Just thought I'd try defining a class method outside of the class definition block. Here's the code <? class test { function test() { echo "In constructor\n"; } } function test::blah() { echo "hello world\n"; } $x = new test(); $x->blah(); ?> Here's the error I got Parse error: parse error, unexpected T_PAAMAYIM_NEKUDOTAYIM, expecting '(' in C:\WINNT\Profiles\mtowell\Desktop\test1.html on line 7 So, okay, I can't do that. I'd have to define "blah()" inside the "class test{}" block But my question is: what does "T_PAAMAYIM_NEKUDOTAYIM" mean? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#98553) next »