Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77836 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2475 invoked from network); 9 Oct 2014 21:50:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Oct 2014 21:50:01 -0000 Authentication-Results: pb1.pair.com header.from=leight@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=leight@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.212.175 as permitted sender) X-PHP-List-Original-Sender: leight@gmail.com X-Host-Fingerprint: 209.85.212.175 mail-wi0-f175.google.com Received: from [209.85.212.175] ([209.85.212.175:50423] helo=mail-wi0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 57/00-01704-80307345 for ; Thu, 09 Oct 2014 17:50:00 -0400 Received: by mail-wi0-f175.google.com with SMTP id d1so260001wiv.14 for ; Thu, 09 Oct 2014 14:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=pCiHaQ3HcV4A/7jULqaei5rwCKFb0dRhD0oa7uPsiUs=; b=yHV0oIi/WcQT7PSuJaitsI9a0chi/0mmsWX2pbJJUy4uJTfsa5SFSjMpkx77s7oVHg QRNEZ3Bk9FYvJQT6ngqYPcCssfkdGVnWvu2Jx1b3ydL86PIUIldP2yPqnl7a/8TOa5aS tao8Xvc+h7nQGNBrqKAk7Jve+Q2xfaNEqox9p9vpcaQNFPGc90m8QTVqot3Os/SuEFFH NGoMS3wINDU43LZs36cawjPTnTCrkAQxxYZiFPRvvHdY4fAx6yB90nbh0ouomwzc1RoV +1IgwKH1oE4epaie7vBgmOK3+fGWnwRQM2x2/phkBUZzX5AicEnYtWvXCAKYY3Y7h7c3 cFdA== MIME-Version: 1.0 X-Received: by 10.180.206.230 with SMTP id lr6mr675660wic.82.1412891397416; Thu, 09 Oct 2014 14:49:57 -0700 (PDT) Received: by 10.217.55.195 with HTTP; Thu, 9 Oct 2014 14:49:57 -0700 (PDT) In-Reply-To: <5436FC32.2070704@pascal-martin.fr> References: <5436FC32.2070704@pascal-martin.fr> Date: Thu, 9 Oct 2014 22:49:57 +0100 Message-ID: To: "Pascal Martin, AFUP" Cc: internals@lists.php.net Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [VOTE] [RFC] Loop + or control structure From: leight@gmail.com (Leigh) On 9 October 2014 22:20, Pascal Martin, AFUP 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 :)