On Mon, 2 Aug 2004, Kamesh Jayachandran wrote: > Hi Mehdi, > Even Foo::HELLO works. > My question is why simple HELLO inside a member function does not work. > > Why are we not able to access the static and const members of a class > from inside a class member function like the way with other member > variables.?
Other member variables don't work either like this, you need to specify $this-> always. Derick -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php