Re: bug or feature?
| From: | Oyvind Moll | Date: | Fri, 18 May 2001 13:31:22 +0000 |
| Subject: | Re: bug or feature? | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-55769@lists.php.net to get a copy of this message | ||
* Zeev Suraski <zeev@zend.com>
|
| At 16:08 18/5/2001, Andrei Zmievski wrote:
| >On Fri, 18 May 2001, Stig Bakken wrote:
| > > Anyway, I'd like to see "$this assignment in constructor":
| > >
| > > 1. dismissed as a bug
| > > 2. documented as a feature, or
| >
| >+1 from me on this one.
|
| +1 on what? :)
From me: +1 on documenting/making it a feature.
| It's generally a side effect of the implementation, so I wouldn't be too
| keen on documenting as a feature, but as an undefined behavior.
Could the current behaviour be hard to keep in the future, with the
"$this assignment in constructor" syntax? The feature, though
currently unintended, is certainly handy enough to warrant being kept
alive in one way or another.
--
Øyvind Møll <oyvindmo@initio.no>
Initio IT-løsninger AS <URL: http://www.initio.no/ >