Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37976 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4588 invoked from network); 28 May 2008 18:17:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2008 18:17:35 -0000 X-Host-Fingerprint: 84.166.107.26 p54A66B1A.dip.t-dialin.net Received: from [84.166.107.26] ([84.166.107.26:26965] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/A4-10063-EB1AD384 for ; Wed, 28 May 2008 14:17:35 -0400 Message-ID: <32.A4.10063.EB1AD384@pb1.pair.com> To: internals@lists.php.net Reply-To: "Sebastian" Date: Wed, 28 May 2008 20:17:34 +0200 Lines: 10 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: __toString() and exceptions From: admin@ifyouwantblood.de ("Sebastian") 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