Re: [RFC] Supports 'finally' keyword for PHP exceptions
| From: | Alexey Zakhlestin | Date: | Tue, 24 Jul 2012 11:41:13 +0000 |
| Subject: | Re: [RFC] Supports 'finally' keyword for PHP exceptions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-61671@lists.php.net to get a copy of this message | ||
On 24.07.2012, at 15:20, Laruence wrote:
> Hi:
> As the previous threads disscussed, I make a implemention.
>
> here is the RFC: https://wiki.php.net/rfc/finally
>
> any suggestions?
Will it work without "catch" in your implementation?
try {
doSomethingDangerous();
} finally {
doCleanup();
}
Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc
Attachment: [application/pgp-signature] Message signed with OpenPGP using GPGMail signature.asc