try looking it up in the manual on i just did a search for it and
found a few results such as  which leads to (when you
find it in the table)

-----Original Message-----
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 21 May 2002 12:55 PM
Subject: [PHP] php4.2.0 (win) error message question

Just thought I'd try defining a class method outside of the class definition
Here's the code

class test
  function test() { echo "In constructor\n"; }

function test::blah() { echo "hello world\n"; }

$x = new test();

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 (
To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to