Re: Possibility to add finally to try/catch?

From: Date: Tue, 28 Feb 2012 19:43:44 +0000
Subject: Re: Possibility to add finally to try/catch?
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-58265@lists.php.net to get a copy of this message
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 <kiall@managedit.ie>wrote: > On Tue, Feb 28, 2012 at 5:36 PM, Stas Malyshev <smalyshev@sugarcrm.com > >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!) >

« previous php.internals (#58265) next »