Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37982 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24711 invoked from network); 28 May 2008 19:45:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2008 19:45:37 -0000 X-Host-Fingerprint: 84.166.107.26 p54A66B1A.dip.t-dialin.net Received: from [84.166.107.26] ([84.166.107.26:6061] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 02/38-10063-066BD384 for ; Wed, 28 May 2008 15:45:36 -0400 Message-ID: <02.38.10063.066BD384@pb1.pair.com> To: internals@lists.php.net Reply-To: "Sebastian" References: <32.A4.10063.EB1AD384@pb1.pair.com> Date: Wed, 28 May 2008 21:45:32 +0200 Lines: 60 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5512 X-Posted-By: 84.166.107.26 Subject: Re: [PHP-DEV] __toString() and exceptions From: admin@ifyouwantblood.de ("Sebastian") Hi, thank you, first of all because this was the first link to Zend Weekly News that worked. ;-) then to the real thing: i already thougt that such an answer was abroad. i know that the zend engine has actually never been written to work with exceptions. altought the zend engine 2 has great new features its "just" an rewrite of version 1. alas, an exception is a direct break of code execution, so i actually cant understand the limitations. it should at least go to next years "summer of code" of google. would be interesting. thanks. Sebastian ""Guilherme Blanco"" schrieb im Newsbeitrag news:bcb7aa500805281226gdd63d2jd355cbc6da90856@mail.gmail.com... > 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 > 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