Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 77433 invoked from network); 21 Sep 2016 18:44:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2016 18:44:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=jakub.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=jakub.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.161.181 as permitted sender) X-PHP-List-Original-Sender: jakub.php@gmail.com X-Host-Fingerprint: 209.85.161.181 mail-yw0-f181.google.com Received: from [209.85.161.181] ([209.85.161.181:33176] helo=mail-yw0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9F/5C-04117-815D2E75 for ; Wed, 21 Sep 2016 14:44:40 -0400 Received: by mail-yw0-f181.google.com with SMTP id i129so69123484ywb.0 for ; Wed, 21 Sep 2016 11:44:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/4vilT54og2/O81nXzGnCyyTy9MT4FXjW6o5xQuQcsg=; b=i/53kTO71FOCMMoLNtW1dJOdkmouq/rGm4dr/LmhjRHJpwmbYgxUb/vTfLMR40BbGg xxp1BCFPRiD7N+fHNMM1KZqu0+aEvelDfcgK2mXb5K7K1NGLA8lC1yUTTSvkYOdKaZJb oYNXRwE0FNjCvQ3HeElRisCw7yIAmbfcMzWDojbA+veiXXmFQmEhbRKt0VlA8RD72+HJ 5Y9H4XvzbGkn/YjtqcHMLrxh/bzV8kvbT3HmOZsw2ygTbX3SbxiJr2pqg0gOygXQPMds 1HmQW6mUm8lDleYgWu8OBMVea16Ef2ZzN74MVRHiQTpj3fXobTpiYVBmwnytEXgQ14yH j6aQ== 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; bh=/4vilT54og2/O81nXzGnCyyTy9MT4FXjW6o5xQuQcsg=; b=hbwgJI1ux1EXrLqpsv4YTDhkL+9OXz+r5i//zBuIo0QWwRapu8CLFYvaglLQtCYel5 8CEkUaX+zLpg/V8zbty/UHAx7nOCtQamCp1Rxd5MvQqvVE1MOiK1OtZVW4qSYB9TizfW 6uPUGAjajUOSZaLpPEodNZVUPdCfVxq1hMY6rg04gid7xpJnzMZSUN/mJ3OQdf2ORww4 S36MOJeqqvp4Qbjn51wRmEPnB4c7ZPZGaxyMZvh1CAVLLwszVgr0DcYnxGzpWGijDBM4 5gtFBYzkBnu2idLnuMc/mtn53gt1KOzBER3VbIsRSpL5A0vRNLAOrfHLsMz/mgj0kDSZ erVw== X-Gm-Message-State: AE9vXwNylMSEaQaT6x7vNGdPNslspdLNRZUcwZub+6FpT/qiPtaQfdB6AVOTSdFxjP0FQjyG4Rr2CK82PdAOkg== X-Received: by 10.13.252.132 with SMTP id m126mr35808390ywf.307.1474483478449; Wed, 21 Sep 2016 11:44:38 -0700 (PDT) MIME-Version: 1.0 Sender: jakub.php@gmail.com Received: by 10.31.174.151 with HTTP; Wed, 21 Sep 2016 11:44:37 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Sep 2016 19:44:37 +0100 X-Google-Sender-Auth: qKWbwmUAKrJDE4n6ukq2Sg_Fi9Y Message-ID: To: Levi Morrison Cc: Nicolas Grekas , Ryan Pallas , internals Content-Type: multipart/alternative; boundary=94eb2c08d80af5db55053d08efb3 Subject: Re: [PHP-DEV] Fix ReflectionType::__toString() BC break From: bukka@php.net (Jakub Zelenka) --94eb2c08d80af5db55053d08efb3 Content-Type: text/plain; charset=UTF-8 Hi, On Wed, Sep 21, 2016 at 7:07 PM, Levi Morrison wrote: > On Wed, Sep 21, 2016 at 11:13 AM, Nicolas Grekas > wrote: > >> To handle this in code written around current __toString seems pretty > > simple > > > > Yes it is, but that's not what we're talking about: > > BC is about having perfectly fine code working in e.g. 7.0 be still > working > > fine on 7.1 *without any change*. > > > > Right now, we have red test suites on php7.1rc2. > > This is the symptom of a BC break, by definition. > > And the issue is not the existing code we have, but the new one that is > > changing the behavior of the engine. > > This was understood when the decision was made. You seem to not be > understanding the bigger issue and instead focusing on the BC break > for a *single minor release, and a dot zero at that*. If we keep the > BC compat this method is redundant and useless forever. If we fix it > we break your code for *one single minor release, and a dot zero at > that*. Which is the bigger disruption? > > This is why the decision was made. It is better to have the useful > functionality from here on out than to preserve BC with a single minor > release, and a dot-zero at that. > > I'm just wondering, how is it possible that this got changed when the only RFC mentioning this change got rejected ( https://wiki.php.net/rfc/reflectiontypeimprovements )? I don't see any consensus in the later discussion so unless I missed something, which is quite possible, this change should not be there in the first place, right? Cheers Jakub --94eb2c08d80af5db55053d08efb3--