Re: [RFC] Supports 'finally' keyword for PHP exceptions
| From: | Xinchen Hui | Date: | Wed, 25 Jul 2012 00:42:21 +0000 |
| Subject: | Re: [RFC] Supports 'finally' keyword for PHP exceptions | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61729@lists.php.net to get a copy of this message | ||
发自我的 iPad
在 2012-7-25,1:50,Stas Malyshev <smalyshev@sugarcrm.com> 写道:
> On 7/24/12 4:20 AM, Laruence wrote:
>> Hi:
>> As the previous threads disscussed, I make a implemention.
>>
>> here is the RFC: https://wiki.php.net/rfc/finally
>
> I'm not seeing tests for the following situations:
> 1. Return from catch block.
> 2. Another try/catch block inside finally block.
> 3. Multiple nested functions with finally blocks.
> 4. Exception thrown in catch block.
They are in the test scripts in commits, But sure, I should note them out
Thanks
>
> Could you add those?
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227