php4.2.0 (win) error message question

From: Date: Tue, 21 May 2002 02:54:54 +0000
Subject: php4.2.0 (win) error message question
Groups: php.general 
Request: Send a blank email to php-general+get-98552@lists.php.net to get a copy of this message
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?

« previous php.general (#98552) next »