Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96078 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 79024 invoked from network); 21 Sep 2016 18:47:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2016 18:47:46 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.171 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.213.171 mail-yb0-f171.google.com Received: from [209.85.213.171] ([209.85.213.171:36533] helo=mail-yb0-f171.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/BC-04117-2D5D2E75 for ; Wed, 21 Sep 2016 14:47:46 -0400 Received: by mail-yb0-f171.google.com with SMTP id u125so39770777ybg.3 for ; Wed, 21 Sep 2016 11:47:46 -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=GpcOqsY5Uk/Nlb3SZg4NPn2cR9nd10WbwPXatuV4Fck=; b=QtczjfniYkKjT2fA7kYxKXR8u/33Vy9oY4wswdStRNKopMVOfAnor1q/EF1IxTl6R5 QmigaNg+hlevjEu8wEFYHsd/OliEQTezVWdzJkjyLXiOE7mwhHodbs8Ldf20Bm/VOTo1 kMHFmM4YzI82I+7KC1jYm4SgaD2wZxzsdOW6EX0yq+201e6TluZTibu3Uvb89eHtEQgc ss3fbYHB/KVwx4XRFJvryePyy8UTuWTNKErgnkN4Pez0LfKDzDUw46n7uwAHK2c3irey sXQAjUolSiE2cScgfgqTkgKeSowUNIMix2bohNejaVb78B4av2AUaKuj//0IKC2g7F6J h2cQ== 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=GpcOqsY5Uk/Nlb3SZg4NPn2cR9nd10WbwPXatuV4Fck=; b=iHusfqg2JfN+0mRbPDt7DLfQ0ryt864HmzOrJ0UaCNmsUiSAerIL0kq7wMKn6WQINg 2rffG98ePeSf2mDa1KYxXc2Nm0oD9JWXtQRVOcNjSIQGxNmeTU0Q6ghUESX1U6vz18jh 3pVwZvLayTuCLSZniC+VscpFXTSddj7Q0IeLtjJIFIuTNhTfZvzkDTrvxEkohU+9z0zr GRaM3rvROQhmPvx1gLVxRJS9pDoD9mrgUcan8BImslb+9E69fERN8f89uHGPNol++Kcp 2iiRcnce1jKu8J4FK3YllfTpNm8bie2oAu7/RbfIVcbt6+pJ9JGjhV9bCZWYtXAc4/VV sKdw== X-Gm-Message-State: AE9vXwMr1xwGDdAKQ5eAZVHQGDulIYo8A5tvJL09Ox8hikEaDmXzKcZWTXR4JpRjBZ/k+fa7NbeBTnjI9BkFVg== X-Received: by 10.37.81.136 with SMTP id f130mr36197993ybb.65.1474483663146; Wed, 21 Sep 2016 11:47:43 -0700 (PDT) MIME-Version: 1.0 Sender: morrison.levi@gmail.com Received: by 10.13.193.66 with HTTP; Wed, 21 Sep 2016 11:47:42 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Sep 2016 12:47:42 -0600 X-Google-Sender-Auth: F62QFY2pSr8g3rg9o-X8NUpVeFc Message-ID: To: Jakub Zelenka Cc: Nicolas Grekas , Ryan Pallas , internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] Fix ReflectionType::__toString() BC break From: levim@php.net (Levi Morrison) On Wed, Sep 21, 2016 at 12:44 PM, Jakub Zelenka wrote: > 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 > You should check the mailing lists in situations like this, and in this situation you will find the answer. Basically everyone who bothered to discuss anything that some minimal changes needed to be made before 7.1 launched or it's forever broken. (Spoiler: it isn't just me) I understand that some people really don't like reading the mailing list but I have no sympathy for people who don't read it then wonder what happened. It's literally our only official communication channel.