ibility
-May improve code interpretation speed due to part of code skipped by the
nested return.
-Allow "dynamic" return expressions.
Inconveniences:
-May complicate debug/backtrace
Regards,
Georges.L
lly dynamic nested return, but a
"controlled" dynamic nested return. I would not see this to be improved:
return $something, $nesting_level;
If I remember that feature has been removed in continue/break as of php
5.4, so this isn't that hard, right? :)
Georges.L
2015-03-21 14:2
ecute
echo 'evil';
}
function make_love_dont_war()
{
echo 'Make love, dont war.';
}
You get it ?
Georges.L
2015-03-21 17:07 GMT+01:00 John Bafford :
>
> On Mar 21, 2015, at 10:17, Georges.L wrote:
>
> > The main purpose of this RFC is *not* to improve the
ized Collection type instead of those ugly Object-like
collections that are ressources-greedy.
+ Aside of the optimization, we have a well understandable type hint
reserved to the Collections. This is clearly a better
semantically-appropriated way to work with Collection data.
The -:
- Collection b
n any PHP 7.x release.”
A - Like I said, I’m seeing it as a new type of variable, introducing a new
reserved of keyword with a slightly different way to work with.
Cheers,
Georges
De : Niklas Keller [mailto:m...@kelunik.com]
Envoyé : samedi 28 janvier 2017 19:55
À : Georges.L
Cc