Re: [VOTE] [RFC] Loop + or control structure

From: Date: Thu, 09 Oct 2014 21:49:57 +0000
Subject: Re: [VOTE] [RFC] Loop + or control structure
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-77836@lists.php.net to get a copy of this message
On 9 October 2014 22:20, Pascal Martin, AFUP <mailing@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 :)

« previous php.internals (#77836) next »