Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:95416 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14236 invoked from network); 23 Aug 2016 15:04:00 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Aug 2016 15:04:00 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.176 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.217.176 mail-ua0-f176.google.com Received: from [209.85.217.176] ([209.85.217.176:34200] helo=mail-ua0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 66/C0-10212-BD56CB75 for ; Tue, 23 Aug 2016 11:03:55 -0400 Received: by mail-ua0-f176.google.com with SMTP id k90so249267781uak.1 for ; Tue, 23 Aug 2016 08:03:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=gKkwRTp8kqjxIOdmiLFei9HvqRec1+F0rsMLn5k3LIw=; b=C6gkx971uNbTi80+VMz96FML5AOULW9hN0EmTVx5qlYCaeAG/HSiQ122uP5gTcwmEw JFFAE7ANi1MDd4ygArHtMvEeVo0wzHdBW/IW2d0j4jMe0630JiBjNC/FQR8zR0XMXGun ET5nlNUs+z4HvsLTcCoiYy1WC9IWWpYK1XqwLOjYXudn+Fdw8CSVcZi/+yy8i+EcrREk 9yp3qUSVL7oH8LWhz/VrAWBzjnE6q+/qXNfXJXerLY4k83dHOnL/y1uZknZp+4eqFelE AprZOO741xBlNmPIxqPBYDjMftS0sC2KDyA2WZU1iecJkYcPyBnR4EMehsUBDyYwOpyj pYxg== 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; bh=gKkwRTp8kqjxIOdmiLFei9HvqRec1+F0rsMLn5k3LIw=; b=VdSxLPtOokKdcLLdscqBCOg238ueud2biJXmx5EgGa+gb/WkyTE4n1+jivSMnhkE18 3FOY0VDIcfPA0sIknK0OQI3WuF6JCPzADV6cbODGQxsc6kHvoLRjCybCLc9i49XWCI98 zUaa4Dgsc6Cze9b//ZQW7sAF/sgduk2JWMYnfmwkGhh1rDHNIxwU4vcKBhVgmCpppMeE TNshhRHQP0l9NBId9gkXJtxh3PjAiws/52vIsQ/ZhpC7tfg90h/sLGlVdH8DEFFai720 5ZXru7basjvQ4N0PKhkyArMQ0akKodLluniHzMWqPHi+YQ1b5lVwaNkNWTHagYuWGOAk FbwA== X-Gm-Message-State: AEkoous5se0MMzgWhtLL5PNifpVufTUMD3p0ASSNX8Jla5nqV4srobfDE+Ea8XwDrOzaD4+GNrcaONSTd2cNrA== X-Received: by 10.31.155.141 with SMTP id d135mr11878810vke.98.1471964632244; Tue, 23 Aug 2016 08:03:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.81.149 with HTTP; Tue, 23 Aug 2016 08:03:51 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Aug 2016 17:03:51 +0200 Message-ID: To: "Christoph M. Becker" Cc: Julien Pauli , Alexander Lisachenko , Rowan Collins , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a1141004006eb03053abe79e8 Subject: Re: [PHP-DEV] BC break: ReflectionMethod::invoke() expects parameter1 to be object, string given From: tyra3l@gmail.com (Ferenc Kovacs) --001a1141004006eb03053abe79e8 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Aug 22, 2016 at 6:30 PM, Christoph M. Becker wrote: > On 22.08.2016 at 18:00, Julien Pauli wrote: > > > I agree this is a BC break and should not stay as-is in source code. > > I wonder why we have more than 100 lines of "Backward incompatible > changes" in the PHP 7.1.0beta3 changelog[1], if BC breaks shouldn't be > introduced in a minor release. > That's a bit loaded question, and leads to a broken windows situation, but from my understanding some people read https://wiki.php.net/rfc/releaseprocess differently: consider some BC breaks simply bug fixes, or think that we shouldn't stick to absolutes but consider BC breaks on a case-by-case basis. personally I think tha > > > It makes some testsuites fail, that did not fail before ; thus it break= s > things. > > An estimated 10% (at least) of my *bugfixes* in GD broke at least one > PHPT, because the test was broken in the first place. > test failures can be false positive or depending explicitly undefined behaviors, but they can be a good indicator when looking for BC breaks. as we can see from the previous mails in this thread there are behavior changes where the previous behavior was different from what was documented so a bit of a grey area. personally I think that we are in general too lenient with allowing BC breaks in 7.1 (even though that I somehow expected this and was arguing for a longer release cycle for 7.0 or at least having a clear roadmap for the next major version) and we should be more strict about it otherwise we will lose the trust we gained from the userland in the last couple of years with our release process and versioning. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a1141004006eb03053abe79e8--