On Sun, Jun 23, 2013 at 2:24 PM, Joost Koehoorn <[email protected]>wrote:

> Hi,
>
>
> Let me first tell a little about myself. I'm 21 y/o and from the
> Netherlands, currently studying Computing Science at University of
> Groningen. I've been using PHP for about 8 years and now like to get my
> hands dirty in PHP's core.
>
>
> Recently, Phil Sturgeon asked on twitter if someone would be able to add
> support for a certain language construct to PHP, see
> https://twitter.com/philsturgeon/status/347822429877436416.
>
>
> This sounded like a great opportunity to dive into the PHP core, as it's
> not that hard to implement. In the meantime I've successfully been able to
> get this working, including support for anonymous catch-statements:
>
>
> try { throw new Exception; }
>
> catch { die('Oops!'); }
>
>
>
Just out of curiosity, what is the use case for anonymous catch blocks?
I've honestly never had a reason to do this before.


> That's why I'd like to create an official RFC where details about the
> exact possibilities may be discussed.
>
>
> My wiki username is 'joostk'.
>
> <https://twitter.com/philsturgeon/status/347822429877436416>
> <https://twitter.com/philsturgeon/status/347822429877436416>
>
> Regards,
>
> Joost
>
> --
> PHP Webmaster List Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Reply via email to