Re: Re: How to access the per-class constant from a member function?
| From: | Kamesh Jayachandran | Date: | Mon, 02 Aug 2004 14:14:30 +0000 |
| Subject: | Re: Re: How to access the per-class constant from a member function? | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11823@lists.php.net to get a copy of this message | ||
Hi Derick,
Thanks for the correction.
With regards
Kamesh Jayachandran
On Mon, 2 Aug 2004 16:02:23 +0200 (CEST), "Derick Rethans"
<derick@php.net> said:
> 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