Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:58265 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36505 invoked from network); 28 Feb 2012 19:43:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Feb 2012 19:43:47 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-we0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:49040] helo=mail-we0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 29/A7-34356-27E2D4F4 for ; Tue, 28 Feb 2012 14:43:47 -0500 Received: by werh12 with SMTP id h12so1946243wer.29 for ; Tue, 28 Feb 2012 11:43:44 -0800 (PST) Received-SPF: pass (google.com: domain of kris.craig@gmail.com designates 10.216.132.32 as permitted sender) client-ip=10.216.132.32; Authentication-Results: mr.google.com; spf=pass (google.com: domain of kris.craig@gmail.com designates 10.216.132.32 as permitted sender) smtp.mail=kris.craig@gmail.com; dkim=pass header.i=kris.craig@gmail.com Received: from mr.google.com ([10.216.132.32]) by 10.216.132.32 with SMTP id n32mr10666790wei.12.1330458224276 (num_hops = 1); Tue, 28 Feb 2012 11:43:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=SPXt7GIZVgz9t3D664My7pqDTGccIE8E1oTK7mk7bNw=; b=iyIApcIJ1vmubac+9C/YJ8sJM5SLz1fJ8M8pS8pAS8bDFbcRmLFzdtDomG1/f+tFv/ /YHXPKmFy2Kd44CEIZOTBWTkk7LaB9ShfK58uTM7EQTfBsT6H7b8msYb92IQEE1CL8w7 30sqfhQmhb/jLtEf/tiOQc2pgrkp5y6iIYG34= MIME-Version: 1.0 Received: by 10.216.132.32 with SMTP id n32mr8473324wei.12.1330458224220; Tue, 28 Feb 2012 11:43:44 -0800 (PST) Received: by 10.223.75.146 with HTTP; Tue, 28 Feb 2012 11:43:44 -0800 (PST) In-Reply-To: References: <01a901ccf622$0645f230$12d1d690$@alliantinternet.com> <4F4D108E.2030707@sugarcrm.com> Date: Tue, 28 Feb 2012 11:43:44 -0800 Message-ID: To: Kiall Mac Innes Cc: Stas Malyshev , Dmitri Snytkine , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=0016e6d7ef29d7da4f04ba0b7104 Subject: Re: [PHP-DEV] Possibility to add finally to try/catch? From: kris.craig@gmail.com (Kris Craig) --0016e6d7ef29d7da4f04ba0b7104 Content-Type: text/plain; charset=ISO-8859-1 I'll go ahead and create an RFC for this if nobody has any objections. Then we could link to that instead of a bug ticket. --Kris On Tue, Feb 28, 2012 at 10:09 AM, Kiall Mac Innes wrote: > On Tue, Feb 28, 2012 at 5:36 PM, Stas Malyshev >wrote: > > > Last time we looked into it we couldn't make a clean implementation of it > > that worked well. If anybody has good ideas about how to do it, please > > provide a patch. > > > Right - I don't claim, even for a moment, to have the slightly clue how > easy/hard the implementation would be. > > But - I don't think that should stop the discussion, or even consensus > gathering, of whether or not the feature should be implemented. If > the consensus is that the feature is useful and will likely be accepted if > formally proposed etc - that may encourage someone to spend the time on > finding a clean and acceptable implementation! > > Anyway - Just my 2c. > > Kiall > > (P.S. Yes - I know there was an error in my ruby example.. Luckily I caused > an exception while trying to raise an exception.. so no harm!) > --0016e6d7ef29d7da4f04ba0b7104--