On 26 juni 2013 at 08:50:55, Patrick ALLAERT (patrickalla...@php.net) wrote:
2013/6/25 Nikita Popov :
> but I'm against the generic catch{} statement.
I'm sharing Nikita's opinion, with the difference of a bit more
enthusiasm on leaving off the variable as it could make it more
obvious that th
2013/6/25 Nikita Popov :
> but I'm against the generic catch{} statement.
I'm sharing Nikita's opinion, with the difference of a bit more
enthusiasm on leaving off the variable as it could make it more
obvious that there is no intention in using the variable, and that no
memory should be kept for
On 25 June 2013 17:07, Nikita Popov 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 problems), maybe it's best
On 25 June 2013 17:07, Nikita Popov wrote:
> No opinion on leaving off $e, but I'm against the generic catch{} statement.
I second the concerns about empty catch{}.
--
Regards,
Mike
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, Jun 25, 2013 at 12:54 AM, Joost Koehoorn
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/anonymous_catch
>
No opini
On Tue, Jun 25, 2013 at 12:54 AM, Joost Koehoorn
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/anonymous_catch
>
> Regard
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 {
code();
} catch {
doSomething();
} catch {
do
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 Li