Stig Sæther Bakken wrote:
> I disagree with your conclusion here.  If a side-effect is useful
> enough and people want to use it, why not document it de-bastardize
> it?  The fact that other OO languages implement this should be a hint
> that it shouldn't be impossible to do in a different OO model.

Also, this is not performance critical. It is usually done
in errors handlers in constructors, so PHP engine implementors
should be able to emulate it, even if assignments to $this are
not a natural side effect in their implementation of a PHP
engine.

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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to