Re: bug or feature?
| From: | Kristian Köhntopp | Date: | Fri, 18 May 2001 15:59:40 +0000 |
| Subject: | Re: bug or feature? | ||
| References: | 1 2 3 4 5 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55791@lists.php.net to get a copy of this message | ||
Oyvind Moll wrote:
> Could the current behaviour be hard to keep in the future, with the
> "$this assignment in constructor" syntax?
Assignments to self (to $this) are a very useful features and
common in other OO languages as well. I'd vote for keeping the
feature, document it as such and making it legal.
Kristian
--
Kristian Köhntopp, NetUSE AG Dr.-Hell-Straße, D-24107 Kiel
Tel: +49 431 386 435 00, Fax: +49 431 386 435 99