Re: __toString() and exceptions
| From: | Guilherme Blanco | Date: | Wed, 28 May 2008 19:26:39 +0000 |
| Subject: | Re: __toString() and exceptions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-37979@lists.php.net to get a copy of this message | ||
Hi Sebastian,
This is known and I already asked this quite some time ago.
Here is the summary of what have I asked here:
http://devzone.zend.com/article/2016-Zend-Weekly-Summaries-Issue-336#Heading6
Regards,
On Wed, May 28, 2008 at 3:17 PM, Sebastian <admin@ifyouwantblood.de> wrote:
> 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
>
>
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Guilherme Blanco - Web Developer
CBC - Certified Bindows Consultant
Cell Phone: +55 (16) 9166-6902
MSN: guilhermeblanco@hotmail.com
URL: http://blog.bisna.com
Rio de Janeiro - RJ/Brazil