Re: PHP 4.0 Bug #4612: Too much of $this
| From: | Andrei Zmievski | Date: | Fri, 26 May 2000 13:20:19 +0000 |
| Subject: | Re: PHP 4.0 Bug #4612: Too much of $this | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-19502@lists.php.net to get a copy of this message | ||
On Fri, 26 May 2000, Jim.Moores@quickstone.com wrote:
> From: Jim.Moores@quickstone.com
> 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. *