On Tue, 2012-04-03 at 00:49 +0500, Alexey Shein wrote: > 3 апреля 2012 г. 0:40 пользователь Johannes Schlüter > <johan...@schlueters.de> написал: > > 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. > > Yeah, don't like it either. It seems like goto is coming back. Oh, > wait, goto is already come back in 5.3 :)
Actually our goto is limited to the scope, this "feature" is not, even worse :-) johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php