Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96145 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 32320 invoked from network); 26 Sep 2016 05:44:51 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Sep 2016 05:44:51 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.50 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.213.50 mail-vk0-f50.google.com Received: from [209.85.213.50] ([209.85.213.50:35178] helo=mail-vk0-f50.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 38/9D-11573-2D5B8E75 for ; Mon, 26 Sep 2016 01:44:50 -0400 Received: by mail-vk0-f50.google.com with SMTP id 192so39932107vkl.2 for ; Sun, 25 Sep 2016 22:44:50 -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=xbAHS8ZxoQ3lEDzUiVSnTvC/LmkJlVnGghcg7kREV9w=; b=GZCwhPGsXzLFx9C7GVUkoZR1bZZsYPwN8HK8s0Fi0nAnuESeSRAwxjpjAOFWt0PhZV arEcvubpTQCoXh5rDY4a+FHdlKqBRBiLrUmtbXN9XmoTaJu1c78N0nhKp+uW6ZEdxUrT pd+2G/0qTMVODvlfjYeqFO1+duSDJ7O1nYas19nZ0nhbhOY9RjDy18jImO7r4uRykfiG E99OjwSbaxIENszaQ+NrVsiWiJgTxs0Fmm1RmNALCJyCchdI9inbk+hEtffybxUnefo1 2P42FvzOYkXXtCPtLPwvicWRBpz9OjjLG4o6W+5kg7nMv60tATV6dzRVViN1rNiuzFJa +fjQ== 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=xbAHS8ZxoQ3lEDzUiVSnTvC/LmkJlVnGghcg7kREV9w=; b=Zt7+h0Tp2JXYgDZddUlt/lEdEdUJ0qlAMPcfpOQj2dW3t6jWS+VHGp+9DNITstT+Xd H3BHFmJ47chNPwrvgV5XeIKgUJ+9Rr22mfLpp/Q5EwhTksxMnx1imvn3kMpuq4+oCeGO LRZbnMjEyxeVhVjs4nRwaTa3ATb38TQOLpPo7RNfaOHLHtVZnM24ZTYGrhkUZji2xIXn im11p9X5lOcQzNDS4KNsrnDoI0IcnVprV424YXciSxES6v0LhGPCXSf1NML5PbKUg2wE /Bm6z2Y4/da0lgIBQJKT2V2Xz4Om8FAZqW4EMtsdKYkO1mvr0D9Gzm7qfaooCUb+QK4C lVWw== X-Gm-Message-State: AA6/9Rn6fzo7Sb3y+RGAGKuIdBXXUadkixXBDFd93wWE8etezDGFFNcLVb1/bBjIuJFxwOmIuGA9gTmnDeRoIw== X-Received: by 10.31.98.66 with SMTP id w63mr6757311vkb.161.1474868688106; Sun, 25 Sep 2016 22:44:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.81.178 with HTTP; Sun, 25 Sep 2016 22:44:45 -0700 (PDT) Received: by 10.176.81.178 with HTTP; Sun, 25 Sep 2016 22:44:45 -0700 (PDT) In-Reply-To: References: Date: Mon, 26 Sep 2016 12:44:45 +0700 Message-ID: To: Davey Shafik , Levi Morrison Cc: Nicolas Grekas , Ryan Pallas , PHP internals Content-Type: multipart/alternative; boundary=94eb2c091dc23eb950053d62a0b8 Subject: Re: [PHP-DEV] Fix ReflectionType::__toString() BC break From: pierre.php@gmail.com (Pierre Joye) --94eb2c091dc23eb950053d62a0b8 Content-Type: text/plain; charset=UTF-8 Also follow the discussion here https://github.com/php/php-src/pull/2137#issuecomment-249353056 On Sep 23, 2016 12:38 PM, "Pierre Joye" wrote: > Adding the RMs. > > Dacey, I think this needs a deeper look and decision. > > On Sep 22, 2016 7:51 AM, "Pierre Joye" wrote: > > > > On Sep 22, 2016 1:07 AM, "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, > > > > Which does not allow BC breaks but for extreme cases. I do not consider > this case as extreme, at all. > > > > I share Nicolas concerns here. This is the kind of changes making the > migration path harder than it should without a strong reason behind it. > > > > I agree with Nikita but it is something that can be solved using the > depreciation flag and then handle in the next major. > > > > > 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? > > > > Obviously the sooner. And what is the next BC breaks for 7.2/3/4? > > > > This is exactly why we introduce the no BC break rule. > > > > In this case it is even more clear as one can use getName if desired to > support 7.1+ only, which I suppose is most likely not the case for a large > majority of users. > --94eb2c091dc23eb950053d62a0b8--