Re: __toString()

From: Date: Sun, 14 Dec 2003 12:52:38 +0000
Subject: Re: __toString()
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-6442@lists.php.net to get a copy of this message
Marcus Boerger wrote: > We found out that calling __toString() automatically in any place in > the executor has unsolveable problems right now (ask Andi for details). So if __toString() is no longer automatically called what is its purpose then? I mean, if I have to explicitly call it via ->__toString() I can save two characters and name the method toString(). -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/

« previous php.internals (#6442) next »