Re: __toString()
| From: | Sebastian Bergmann | Date: | Sun, 14 Dec 2003 14:41:10 +0000 |
| Subject: | Re: __toString() | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-6447@lists.php.net to get a copy of this message | ||
Andi Gutmans wrote:
> It is supported by "print" and for internal extensions such as
> SimpleXML which require this.
How is it supported by "print" when
print $defect->thrownException()
does not work but the object returned from thrownException() has a
__toString() method?
--
Sebastian Bergmann
http://sebastian-bergmann.de/ http://phpOpenTracker.de/
Das Buch zu PHP 5: http://professionelle-softwareentwicklung-mit-php5.de/