Date: 05/26/00
- Next message: cox <email protected>: "[PHP-DEV] PHP 4.0 Bug #4616: Operators don't use decimals"
- Previous message: Antonio Dias: "Re: [PHP-DEV] PHP 4.0 Bug #4612 Updated: Too much of $this"
- In reply to: Antonio Dias: "Re: [PHP-DEV] PHP 4.0 Bug #4612 Updated: Too much of $this"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>
- Next message: cox <email protected>: "[PHP-DEV] PHP 4.0 Bug #4616: Operators don't use decimals"
- Previous message: Antonio Dias: "Re: [PHP-DEV] PHP 4.0 Bug #4612 Updated: Too much of $this"
- In reply to: Antonio Dias: "Re: [PHP-DEV] PHP 4.0 Bug #4612 Updated: Too much of $this"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

