Re: [PHP-DEV] PHP 4.0 Bug #4612: Too much of $this From: Andrei Zmievski (andrei <email protected>)
Date: 05/26/00

On Fri, 26 May 2000, Jim.Moores <email protected> wrote:
> From: Jim.Moores <email protected>
> Operating system: All
> PHP version: 4.0.0 Release
> PHP Bug Type: Feature/Change Request
> Bug description: Too much of $this
>
> Could you consider making the class member namespace available to member functions? I'm sick of typing:
>
> $this->foo()
>
> for every variable that is a class member. I did have a look at the code myself, but, as always with compilers, it's difficult to know where to start (and what the knock on effects of your changes will be). So I thought I'd beg you guys.

And how then would you distinguish between local variable $foo and class
variable $foo?

-Andrei
* Use the source, Luke. *

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>