__toString() and exceptions

From: Date: Wed, 28 May 2008 18:17:34 +0000
Subject: __toString() and exceptions
Groups: php.internals 
Request: Send a blank email to internals+get-37976@lists.php.net to get a copy of this message
Hi, i just found it's really annoying that you can't throw exception in the context of __toString(). This makes it nealy impossible to work with __toString() because you'll have to watch not to throw exceptions (which is even more annoying..). Could this be adressed? Greetings

« previous php.internals (#37976) next »