On 9 October 2014 22:20, Pascal Martin, AFUP <mail...@pascal-martin.fr> wrote: > > I'm guessing this is why you voted "no" on your own RFC? >
Getting this feature working was the result of several compromises, and I didn't like the idea of feeling like "I wish this was different, oh wait... it's my fault..." every time I used it. It really did boil down to syntactic sugar. There was a small performance gain on large loops compared to using a tracking variable, but it wasn't really enough to overcome my negative feelings towards it. The groundwork and proof of concept patch is there. If someone else knows how to make it sexy, they're free to pick it up and run with it :) -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php