Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96065 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57245 invoked from network); 21 Sep 2016 16:13:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Sep 2016 16:13:34 -0000 Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.41 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 74.125.82.41 mail-wm0-f41.google.com Received: from [74.125.82.41] ([74.125.82.41:36207] helo=mail-wm0-f41.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 2C/68-04117-DA1B2E75 for ; Wed, 21 Sep 2016 12:13:33 -0400 Received: by mail-wm0-f41.google.com with SMTP id w84so202263521wmg.1 for ; Wed, 21 Sep 2016 09:13:33 -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=aToE4c0IMqIvpHYa29C5XUxAu9DSWcmLHQFqe4arFZ4=; b=nNgeMbij43adFQtE37C3chWlcF+EJbcvqU6ilXgHP4P++mjZCvZAqLEHizwJxYMlJ1 tbZyWYmnHCZcrJEpnjXa3J3H6fTL01Q6m/lvwKkf0SBINjkcJBQbDB/9bsIAiJVTVfRN +aaIkdHu4A+BC3RL9p6Xi4sFamvY9jTImXziyk00So1s1e2F1lpLqzTZfI/fA+cGJ5O/ d4fVcHJQd3cYvhSSHUL+RWU79z2nfNhnzFLtyaX1X9T63q/WutP+hCaXTiz5sQ6mG1jR 4pD4z6cqz/FGO585kwIJFaAgqd2PwFZvMiCxpK3qLZ8hspnGwiuWFkUw4t6QTTEqQ08e KVwQ== 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=aToE4c0IMqIvpHYa29C5XUxAu9DSWcmLHQFqe4arFZ4=; b=mFlzFEu+t8PnPWUxSc2PIPAftJwXc3rG1GPIl1GIAWUCzXuokJQGoTPNiik2VJNPaf lNk3ZGHgF1mdTAPVeo8xrxSxdqP+w68/ajqrxL4uTvKFefBHgGV83qfXqXHnv4wh+m9A 3kr3llv/1CZA0ivYvfBx5a09R5AJ0ZR971wqmHXnJyx1I18koMpiUpEk7MVgJKbtTjnW klF+l/u3QPQath/aUjH8+4L7mAKs/Kw/WJe7ct/rMQJRbAxFG/+38F3/yP3s9K6cvFO9 AmeC9nM9azWY1WKKHdWpfOCBOcySdUGX4gNWB/5TnlDGpW3DoiCVs80MuBaTcVVznUl9 g6IA== X-Gm-Message-State: AE9vXwMktEERXR5fkC4Anfd8Ibab3SmPww+Yi0VJ0S9IAuURl9YGWE9aEL1woVCVGXT84sETQzXQ4kZY+RihUg== X-Received: by 10.194.200.198 with SMTP id ju6mr33171180wjc.184.1474474410037; Wed, 21 Sep 2016 09:13:30 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.234.105 with HTTP; Wed, 21 Sep 2016 09:13:09 -0700 (PDT) In-Reply-To: References: Date: Wed, 21 Sep 2016 18:13:09 +0200 Message-ID: To: Nikita Popov Cc: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=047d7b8750cc70de4d053d06d34a Subject: Re: [PHP-DEV] Fix ReflectionType::__toString() BC break From: nicolas.grekas@gmail.com (Nicolas Grekas) --047d7b8750cc70de4d053d06d34a Content-Type: text/plain; charset=UTF-8 > > See https://github.com/php/php-src/pull/2136 >> > > I don't like this. > I understand, really. I do have to deal with BC on Symfony side also and it's a really hard constraint. Yet, we stick to it as much as possible, in order to not add pain to others. Sometime, we have to be pragmatic and accept solutions that are not "pure", for the shake of our BC promise. PHP internals has such a BC policy, it should really stick to it. It's not always fun, for sure, but the pain for others it strong. It's not only me&Ocramius, nor Symfony&Zend: everybody not following internals to adapt to latest BC breaks will be hit, potentially. This is bad for the reputation of PHP. It makes the PHP platform unstable as far as confidence is concerned. In this case, we should find a technical solution that preserves BC. Being this patch or unconditionally returning the type name with nullable info is fine, you'll decide what's best. But please don't consider BC as something that one can bypass when it gets annoying. Thanks from me and from many others for considering :) Nicolas --047d7b8750cc70de4d053d06d34a--