Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88760 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 56275 invoked from network); 13 Oct 2015 02:23:39 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2015 02:23:39 -0000 Authentication-Results: pb1.pair.com header.from=laruence@php.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=xinchen.h@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 209.85.213.43 as permitted sender) X-PHP-List-Original-Sender: xinchen.h@zend.com X-Host-Fingerprint: 209.85.213.43 mail-vk0-f43.google.com Received: from [209.85.213.43] ([209.85.213.43:34020] helo=mail-vk0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/15-16518-72B6C165 for ; Mon, 12 Oct 2015 22:23:36 -0400 Received: by vkat63 with SMTP id t63so2283015vka.1 for ; Mon, 12 Oct 2015 19:23:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=8liohgKFGrxdOcPUTOTX+GzjvIt8Z+OYtSqYlRiL+s8=; b=Tw10T/r7d/b2u7ZWFFESaw5PMJdH+zcYu961F6OJPQzAb27nenXN/aP0Z30G3eZTsE Ro4rNawqZidxMcGWhWvm3iyzk60auJU0B7QJbNke24czndWF1Ya08p5LJ1Sksejmz9ZC GIqZUsAA2EaTdW5t3ISZzeBZdGxfKFK/+/ljiHyUVhpEI+idyGLnl4G3IaQiFpDrgOug DqM1ioQnSGgT/+jTm0J99rMiIYRlyQe1tyKk2734zdin1kY8NH/cG73Yv6GdHESm8vRO MAxx99/5dOg9rmIR2wmnc4Yf3VtvW52AbPGjhgfVi8Xd1+3rJOJzp4OIrFYgIqFHyVE6 379A== X-Gm-Message-State: ALoCoQkdAhswN6OxOt48pw7JTMR8DSvtPTYdKDN0+d2kxw5APUU3ukMdmT95Expar7RaRfvn4f5gCs3tV/aj/CkTx4A7bPIvHJk1HgGuiC7+49jtpMeQG23OMgr/6n9Ea2r5JOaTfnXgLIdHaFojPozkNr36p+JZG6aD7gRQJ5FnwLfmA8mvfP4= X-Received: by 10.31.156.75 with SMTP id f72mr4379968vke.25.1444703013217; Mon, 12 Oct 2015 19:23:33 -0700 (PDT) Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com. [209.85.213.44]) by smtp.gmail.com with ESMTPSA id v84sm70737vkv.15.2015.10.12.19.23.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Oct 2015 19:23:32 -0700 (PDT) Received: by vkaw128 with SMTP id w128so2307385vka.0 for ; Mon, 12 Oct 2015 19:23:32 -0700 (PDT) X-Received: by 10.31.8.77 with SMTP id 74mr17685592vki.67.1444703012400; Mon, 12 Oct 2015 19:23:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.75.146 with HTTP; Mon, 12 Oct 2015 19:23:13 -0700 (PDT) In-Reply-To: <022301d1053b$06a91a50$13fb4ef0$@belski.net> References: <01f001d1052b$bed5cbb0$3c816310$@belski.net> <022301d1053b$06a91a50$13fb4ef0$@belski.net> Date: Tue, 13 Oct 2015 10:23:13 +0800 Message-ID: To: Anatol Belski Cc: Nikita Popov , Dmitry Stogov , PHP internals Content-Type: multipart/alternative; boundary=001a1145507edc39d70521f3215a Subject: Re: [PHP-DEV] Re: Forbid rebinding scope of closures created by ReflectionFunctionAbstract::getClosure() From: laruence@php.net (Xinchen Hui) --001a1145507edc39d70521f3215a Content-Type: text/plain; charset=UTF-8 Hey: On Tue, Oct 13, 2015 at 6:12 AM, Anatol Belski wrote: > > > > -----Original Message----- > > From: Nikita Popov [mailto:nikita.ppv@gmail.com] > > Sent: Monday, October 12, 2015 10:33 PM > > To: Anatol Belski > > Cc: Dmitry Stogov ; PHP internals < > internals@lists.php.net> > > Subject: Re: [PHP-DEV] Re: Forbid rebinding scope of closures created by > > ReflectionFunctionAbstract::getClosure() > > > > On Mon, Oct 12, 2015 at 10:22 PM, Anatol Belski > > wrote: > > > > > Hi, > > > > > > > -----Original Message----- > > > > From: Nikita Popov [mailto:nikita.ppv@gmail.com] > > > > Sent: Monday, October 12, 2015 8:57 PM > > > > To: Dmitry Stogov > > > > Cc: PHP internals ; Andrea Faulds > > > > ; > > > Stas > > > > Malyshev ; Bob Weinand ; > > > > Anatol Belski > > > > Subject: [PHP-DEV] Re: Forbid rebinding scope of closures created by > > > > ReflectionFunctionAbstract::getClosure() > > > > > > > > > It would be great, if we stop any commits into PHP-7.0 except for > > > > critical fixes now > > > > > > > > Maybe keep PHP-7.0 open (or as open as release branches usually > > > > are), > > > but from > > > > now on only cherry-pick critical fixes into PHP-7.0.0 (instead of > > > > merging everything)? > > > > > > > I commit myself to Dmitry's words. What matters today and especially > > > after > > > RC5 is the stability. Today we should invest into testing and bug > > > fixes more than into improvements (aka fixes to something that is not > > > broken). It really matters for the quality of the final. That's the > > > message to convey probably. > > > > > > > To rephrase my question: Should we treat PHP-7.0 the same way we treat > > PHP-5.6 and other release branches (i.e. all kinds of bug fixes are > okay, even if > > it's just improving a test or fixing some inconsequential behavior), or > do you > > want to limit the PHP-7.0 branch to actually critical fixes now? From > what you > > say, I assume the former rather than the latter? > > > Talking about "critical" I meant usual definitions as something that > causes memory corruptions, data loss, big functional impact, security > flaws, etc. > agree, bugs > > The tricky point with 7.0 right now is that it's a lot of new stuff with > very high expectations standing short before final. Coupling this with the > "critical" from above, the definition I would make were - it is a) critical > and b) can be fixed properly and cannot wait until after the final release. > The dev time spent to fix something after 7.0 final is indeed lost for the > 7.0 final. Any new code short before final increases the instability risk > of the final. > > Fe small functional regressions are probably not always critical. If a > (even small) functional regression breaks a lot, it is critical. If a > functional regression breaks a rare use case - it is not critical. If > improving a test helps to cover some critical code - so yes, it is critical > as well. Anything that is critical can involve anything you've mentioned > like adding tests or code. > hmm, I understand your ideas, but I think maybe we should forbid such things as well for this moment, because it make things complicated to judge(if it is critical or not), such things can goes to 7.1 let's only allows bugs fix (as you mentioned above) to be committed into PHP-7.0 before the final release of its thanks > > Hopefully I could express myself better now. Cherry-pick is of course a > solution, but IMHO it is important every dev to understand the unique > situation we currently have to face. It is better to avoid cherry-picking > in favor of the "mission aware" code :) > Regards > > Anatol > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Xinchen Hui @Laruence http://www.laruence.com/ --001a1145507edc39d70521f3215a--