Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37979 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 17819 invoked from network); 28 May 2008 19:26:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 May 2008 19:26:44 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 216.239.58.191 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 216.239.58.191 gv-out-0910.google.com Received: from [216.239.58.191] ([216.239.58.191:37412] helo=gv-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 1D/C6-10063-2F1BD384 for ; Wed, 28 May 2008 15:26:43 -0400 Received: by gv-out-0910.google.com with SMTP id e6so1526790gvc.37 for ; Wed, 28 May 2008 12:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=XTa/S7aWxv9tEe7Xz+l1gJ+PiVLVlEJz5f9tVc8Iz+w=; b=iyx40NMvbLV+jV0UYmXT5FYHc20yVMkCeT/F2RRXTzzFyJAW9sqmFBjXuKLEQbbVyTo9DTTVRPDNONbA2wnRoDNBHu1lorWwRKnVUYvkooEQTPa4GZuaQICNLY1HaFOpgWQNgQLKnS3Oh+ElW+/CrSXuOF+ZeG5YDDHni2NWe+Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=abJUXcFn8v4MLSE7Z+HxJH65t2iFMXY+TTsAcAzqpqLwHyywnup0epa3CYHvDiGuE8Qj2yTHtc5ucVB8S4z6XV12c4U8CWlhbX/o9RymLoyTpVz4TM1WKcDWlK1Kr+BQlGdIPcfoqYsbP01RYt8j6hJHxuA6UnFSSXBSa1lp9EI= Received: by 10.78.172.5 with SMTP id u5mr1095647hue.10.1212002799492; Wed, 28 May 2008 12:26:39 -0700 (PDT) Received: by 10.78.181.8 with HTTP; Wed, 28 May 2008 12:26:39 -0700 (PDT) Message-ID: Date: Wed, 28 May 2008 16:26:39 -0300 To: Sebastian Cc: internals@lists.php.net In-Reply-To: <32.A4.10063.EB1AD384@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <32.A4.10063.EB1AD384@pb1.pair.com> Subject: Re: [PHP-DEV] __toString() and exceptions From: guilhermeblanco@gmail.com ("Guilherme Blanco") 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