Hi Kexiao, No, this is not possible. It may be possible in C# and Java, but in PHP you always have to type $this-> if you want to read or manipulate a member variable of the current object.
Greets from Germany ;) 2007/9/13, Kexiao Liao <[EMAIL PROTECTED]>: > > > Say if we want to access a class member variable inside the class itself. > Is > there any way we can access the member variable without using "$this->" > prefix? In that way we do not need to type extra $this-> prefix. > > > -- > View this message in context: > http://www.nabble.com/Access-member-variable-of-a-class-tf4435741s16154.html#a12654891 > Sent from the Zend Framework mailing list archive at Nabble.com. > >
