Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:89299 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 74443 invoked from network); 22 Nov 2015 23:49:08 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Nov 2015 23:49:08 -0000 Authentication-Results: pb1.pair.com smtp.mail=adam@adamharvey.name; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adam@adamharvey.name; sender-id=pass Received-SPF: pass (pb1.pair.com: domain adamharvey.name designates 209.85.215.47 as permitted sender) X-PHP-List-Original-Sender: adam@adamharvey.name X-Host-Fingerprint: 209.85.215.47 mail-lf0-f47.google.com Received: from [209.85.215.47] ([209.85.215.47:35681] helo=mail-lf0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id A0/87-23339-27452565 for ; Sun, 22 Nov 2015 18:49:07 -0500 Received: by lfdl133 with SMTP id l133so16664042lfd.2 for ; Sun, 22 Nov 2015 15:49:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adamharvey.name; s=google; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=ARgkYdeuCtSvz83RiOZzfGPBM2xEo4Y3bFRzK/3oofA=; b=uQKrSbmp9P08LxiXCl0sFPJBsgiJlmC0ojPkUVKc1ByrtKhT60zOaw82lsvEs2KdzD AfNqUt43BA7Kt+dqdJ/Jjnl2PvSVa1wNKj/135UaiNnM8lWU1bmLU4QcdpvposbAsBW+ 24NdtG09UyLRHS8UCzHddThZheCU3B85obwDs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ARgkYdeuCtSvz83RiOZzfGPBM2xEo4Y3bFRzK/3oofA=; b=E3j4+lH66i5Pmrf7BHCYWC/PSnG+xhImK32SWHWx3F/u0tEUgomNXKEx6LOxDY4OFK 4ZJXrFKr9gHvxBVERStimEgH6c6n8OPU+IRy69pxHL19eZwfutuLXZNgaTqn+tJW6tjt 31gIs7vZdjNe7gipLFnka5CKBSWAwdAJXIVZvffilrKE6a41eGEzp42tFUyk38m6ZOlq F8dcECXTe1vGncQ3qqal0SLhgBzmfIby/a9a9L0xdTe9gXcRGHnIXydBhvJqs1W16K0T nIBoR0SAc7vAD4m1eVGC8/MHA2TMh+F9855I7d69HSahX2DADejo3/A9UskEX64QqL8k M6nQ== X-Gm-Message-State: ALoCoQmHkWU140opWg+9rCHjh5gi84DpC9fCRIN/kLzt8g56d66jDxNm9860CwJxWsVGNH7NZvYq X-Received: by 10.25.38.2 with SMTP id m2mr10187654lfm.113.1448236142724; Sun, 22 Nov 2015 15:49:02 -0800 (PST) MIME-Version: 1.0 Sender: adam@adamharvey.name Received: by 10.25.24.212 with HTTP; Sun, 22 Nov 2015 15:48:43 -0800 (PST) In-Reply-To: <56523F74.9040708@lerdorf.com> References: <112FFBCD-8445-40BC-B92F-3A97D3E97C4C@zend.com> <56523F74.9040708@lerdorf.com> Date: Sun, 22 Nov 2015 15:48:43 -0800 X-Google-Sender-Auth: WWCyOo_92s60sghjtluXEOEXp9o Message-ID: To: Rasmus Lerdorf Cc: Anthony Ferrara , Zeev Suraski , "internals@lists.php.net" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] INDRECT in arrays causes count() to become unpredictable From: aharvey@php.net (Adam Harvey) On 22 November 2015 at 14:19, Rasmus Lerdorf wrote: > On 11/22/2015 06:18 AM, Anthony Ferrara wrote: >> Zeev, >> >> On Sat, Nov 21, 2015 at 11:52 PM, Zeev Suraski wrote: >>> >>> IMHO, unless we think fixing this would require breaking binary compati= bility (which I don't think is the case) - this shouldn't block 7.0.0. 7.0= .0 is a lot more about getting people to start paying attention to 7.0 and = start testing their codebase against it - finding both the incompatibilitie= s in their code and, undoubtedly - the bugs we failed to find. I wish we c= ould say this would be the last issue we find in 7.0, but I think we can al= l agree it's wishful thinking... Sure, but not every issue is created equal. Not being able to trust count() is pretty fundamental =E2=80=94 sure, it's not "PHP segfaults when = you access a $_GET variable" bad, but it's still bad, and it's the kind of bug that even reasonable unit tests might not find. > I agree with Zeev here and I had a chat with Anatol about this tonight. > This is a .0.0 release. Nobody is going to take a .0.0 and push it > straight to production. And it is not going to part of any sort of LTS > distro either. It's not like LTS distros don't pick up point releases. > There is no way we will go 2 weeks without finding something for quite a > while still which can drag things out indefinitely. The question is > whether this is significant enough to postpone further. Personally I > don't think it is. Let's get 7.0.0 out the door and get ourselves on > track for regular point releases without any of this "perfect-release" > stress. I disagree completely with that. No, sensible people aren't going to push 7.0.0 straight to production, but remember David Zuelke's e-mail from two weeks ago about how Heroku customers with poorly chosen version constraints might end up with it by accident. The world's not as simple as sysadmins running "./configure && make install" any more. As a group, we're saying that 7.0.0 is "stable". That doesn't mean perfect, but it should mean "you can trust count()". Here's an alternative suggestion: we've previously switched to one week RC cycles late in the piece when trying to get major releases stabilised and we're at the point of only fixing one or two things per RC. That's exactly where we are now. Why don't we do that again =E2=80=94 release a fix for this bug as an RC 8 this week, and then do a release on December 3 if nothing else significant comes up? Adam