Re: Re: How to access the per-class constant from a member function?

From: Date: Mon, 02 Aug 2004 14:02:23 +0000
Subject: Re: Re: How to access the per-class constant from a member function?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-11822@lists.php.net to get a copy of this message
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

« previous php.internals (#11822) next »