Re: [PHP-DEV] RE: Announcing RFC 'Anonymous Catches'

2013-06-26 Thread Joost Koehoorn
On 26 juni 2013 at 08:35:59, Michael Wallner (m...@php.net) wrote: On 25 June 2013 22:23, Johannes Schlüter johan...@schlueters.de wrote:  On Tue, 2013-06-25 at 13:19 -0700, Stas Malyshev wrote:  Hi!    If I'm to understand this RFC correctly, it is nothing more than a  random suggestion

[PHP-DEV] RE: Announcing RFC 'Anonymous Catches'

2013-06-25 Thread Joost Koehoorn
Hi all,    I just published an RFC that proposes to add catch-statement without needing to specify a variable, and support for fully anonymous catches.    Details can be found at:    https://wiki.php.net/rfc/anonymous_catch    Regards,    Joost Koehoorn    Hi.  I am not sure about

[PHP-DEV] Re: Announcing RFC 'Anonymous Catches'

2013-06-25 Thread Joost Koehoorn
On Tue, Jun 25, 2013 at 12:54 AM, Joost Koehoorn  joost.koeho...@gmail.com wrote:  Hi all,    I just published an RFC that proposes to add catch-statement without needing to specify a variable, and support for fully anonymous catches.    Details can be found at:    https://wiki.php.net/rfc

Re: [PHP-DEV] Announcing RFC 'Anonymous Catches'

2013-06-25 Thread Joost Koehoorn
On 25 June 2013 17:07, Nikita Popov nikita@gmail.com wrote:  No opinion on leaving off $e, but I'm against the generic catch{} statement.  I second the concerns about empty catch{}.  --  Regards,  Mike As most of you seem to discard the idea about and empty catch (I can see why, no

Re: [PHP-DEV] RE: Announcing RFC 'Anonymous Catches'

2013-06-25 Thread Joost Koehoorn
On 25 juni 2013 at 22:06:40, Sherif Ramadan (theanomaly...@gmail.com) wrote: On Tue, Jun 25, 2013 at 3:50 PM, Stas Malyshev smalys...@sugarcrm.com wrote: Hi! IMO actually it *makes* the code clearer, because $ignoredException is not used, though a variable name like $ignored is

[PHP-DEV] Announcing RFC 'Anonymous Catches'

2013-06-24 Thread Joost Koehoorn
Hi all, I just published an RFC that proposes to add catch-statement without needing to specify a variable, and support for fully anonymous catches. Details can be found at: https://wiki.php.net/rfc/anonymous_catch Regards, Joost Koehoorn -- PHP Internals - PHP Runtime Development Mailing

[PHP-DEV] Re: Announcing RFC 'Anonymous Catches'

2013-06-24 Thread Joost Koehoorn
On 25 juni 2013 at 01:20:04, Anthony Ferrara (ircmax...@gmail.com) wrote: Joost, First off, let me say welcome and thanks for the contribution! I have a couple of questions around the intended proposal. 1. How do you plan on handling the case where there are multiple catch blocks?     try {