Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:88762 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 71396 invoked from network); 13 Oct 2015 07:27:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Oct 2015 07:27:15 -0000 Authentication-Results: pb1.pair.com header.from=anatol.php@belski.net; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=anatol.php@belski.net; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain belski.net from 85.214.73.107 cause and error) X-PHP-List-Original-Sender: anatol.php@belski.net X-Host-Fingerprint: 85.214.73.107 klapt.com Received: from [85.214.73.107] ([85.214.73.107:58337] helo=h1123647.serverkompetenz.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 91/10-04042-152BC165 for ; Tue, 13 Oct 2015 03:27:14 -0400 Received: by h1123647.serverkompetenz.net (Postfix, from userid 1006) id 5D47423D6185; Tue, 13 Oct 2015 09:27:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on h1123647.serverkompetenz.net X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.5 tests=ALL_TRUSTED,BAYES_00, URIBL_BLOCKED autolearn=unavailable version=3.3.2 Received: from w530phpdev (p579F31EF.dip0.t-ipconnect.de [87.159.49.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by h1123647.serverkompetenz.net (Postfix) with ESMTPSA id E1F3023D6185; Tue, 13 Oct 2015 09:27:05 +0200 (CEST) To: "'Xinchen Hui'" Cc: "'Nikita Popov'" , "'Dmitry Stogov'" , "'PHP internals'" References: <01f001d1052b$bed5cbb0$3c816310$@belski.net> <022301d1053b$06a91a50$13fb4ef0$@belski.net> In-Reply-To: Date: Tue, 13 Oct 2015 09:27:01 +0200 Message-ID: <02c801d10588$9009fd80$b01df880$@belski.net> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHOk30Kiw4kfjy5GlDIeoGWC6GzkgIHObdwAQHL6M0CAeBVJQIEEeh7AbPMapIBJ9QZ3Z4ej8mg Content-Language: en-us Subject: RE: [PHP-DEV] Re: Forbid rebinding scope of closures created by ReflectionFunctionAbstract::getClosure() From: anatol.php@belski.net ("Anatol Belski") Hi, > -----Original Message----- > From: Xinchen Hui [mailto:laruence@php.net] > Sent: Tuesday, October 13, 2015 4:23 AM > To: Anatol Belski > Cc: Nikita Popov ; Dmitry Stogov = ; > PHP internals > Subject: Re: [PHP-DEV] Re: Forbid rebinding scope of closures created = by > ReflectionFunctionAbstract::getClosure() >=20 > Hey: >=20 > On Tue, Oct 13, 2015 at 6:12 AM, Anatol Belski > wrote: >=20 > > > > > > > -----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 >=20 > > > > 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 >=20 > let's only allows bugs fix (as you mentioned above) to be committed = into > PHP-7.0 before the final release of its >=20 Yeah, such things are quite stretchable, as we don't really assign = tickets to milestones. Concentrating on hard weight things only were = probably the best strategy, as you say. I'll be mentioning this yet in = the next announcement as well. Regards anatol