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

On Fri, 26 May 2000, Antonio Dias wrote:
> Or a new operator. IMHO the best choice would be "::" like in C++, that is
> an alias for "this". We can achieve a very good readability and
> maintain compatibility with php3 if "::" is implemented as an alias
> for this.
>
> This way we can do
>
> ::test = something;
>
> in place of
>
> $this->test = something;

Except it'd be completely opposite to C++'s use of ::. In C++ ::
operator indicates that what it's applied to is a global variable or
function.

-Andrei
* We reason deeply, when we forcibly feel. *

-- 
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>