Re: Possibility to add finally to try/catch?

From: Date: Tue, 28 Feb 2012 18:09:57 +0000
Subject: Re: Possibility to add finally to try/catch?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-58261@lists.php.net to get a copy of this message
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 (#58261) next »