Re: resume after exception
| From: | Johannes Schlüter | Date: | Mon, 02 Apr 2012 19:40:29 +0000 |
| Subject: | Re: resume after exception | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-59325@lists.php.net to get a copy of this message | ||
On Mon, 2012-04-02 at 08:44 -0400, Rasmus Schultz wrote:
> I was just reading about the new async/await keywords in C# 5.0, and while
> this has no particular relevance to PHP as such, it got me thinking about
> this idea...
>
> What if you could resume execution after an exception was thrown?
So some random piece of code might cause other code to execute, which
was expected not to run (and therefore threw an exception).
I fear this brings hardly understandable code flows.
johannes