Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94076 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42944 invoked from network); 17 Jun 2016 10:45:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jun 2016 10:45:07 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.47 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.218.47 mail-oi0-f47.google.com Received: from [209.85.218.47] ([209.85.218.47:33714] helo=mail-oi0-f47.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/34-18862-1B4D3675 for ; Fri, 17 Jun 2016 06:45:06 -0400 Received: by mail-oi0-f47.google.com with SMTP id u201so111315029oie.0 for ; Fri, 17 Jun 2016 03:45:05 -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=819O7sf5h5WzhRhLzC/FRwZE/opWr4SNUsil44dxyCs=; b=KclWsnaljr7WZkd4/oun1h95KndkWTZApEbcrLzaEUArfqNB6hi9j5owDDN4o3ANKj Qtu1Sm3ENalYvFqxVCmGxKLpymxVLWoF46v0Ldc49ZDVHRcuGJE4gafo9to/QoAl463Y XczR5Ex/9mRAW3eDd9jQ9y+Xi9o3kcmkrE8Tba/wYiuFYD5QiVFhrHhrbbubFhHBN9KF 3U4ev1Nt9RR3cw4bO3QnssgMux3r4fEhcBrLZXyBM/uY518Yexg/G0qf0A+PSJShHKV9 FL2PnlTCXXkKkSUVp8SGI1XvMsxWypWwoSJnPuhKn8zfZDsYLjOyv3ZnKzt+gpbR8avz Ikdw== 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=819O7sf5h5WzhRhLzC/FRwZE/opWr4SNUsil44dxyCs=; b=cEjzx4ngtbky6drH2me8+mBMI+KVPN9zN7Lzg1Cl5KSrrr1LB85JfgtKC+lqmeT+HM DVXhbb/cOTS+21qkMdJK2ouR+vITxz4QauCUsxMdZC1E0ymNLgMfDTxwpO7AfSxmqXH3 OrbDQFzthNMnBtN3Qt39w6inIEjyzDuYUYehAbbwUHJ+tEnw6dirPPxY+EDHYov8WED4 UAZjIB48jnMhN/oN3bP4Zt3HJQPTF/IqV+y8JTYP+TZ1ZETlAQ5rbsRhrewIEy289tcF o1En65PO7DnJHYOxPkFPNxBqr6tZCztxk8fbOdwJGZWxH5pG8PZU04ZgIYNWeAV5kIKm WVMQ== X-Gm-Message-State: ALyK8tICucYjU9m3fd8xaf1GnSPo84/lk32QBtPa+fw9Qy9ckqwdnvN79Y2i7KLusCA9D1VwXPfytKMdZbvniw== X-Received: by 10.157.11.148 with SMTP id 20mr981486oth.82.1466160303074; Fri, 17 Jun 2016 03:45:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.108.197 with HTTP; Fri, 17 Jun 2016 03:45:02 -0700 (PDT) In-Reply-To: References: Date: Fri, 17 Jun 2016 17:45:02 +0700 Message-ID: To: Matteo Beccati Cc: Dmitry Stogov , Joe Watkins , PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] [Accepted] Replace "Missing argument" warning with "Too few arguments" exception From: pierre.php@gmail.com (Pierre Joye) On Fri, Jun 17, 2016 at 4:57 PM, Matteo Beccati wrote: > On 16/06/2016 08:18, Pierre Joye wrote: >> Hi Dmitry >> >> I am sorry but I have to ask to wait before merging it. >> >> It is definitely not clear that: >> >> . The rfc was valid to begin with due to the short discussion time >> . This BC is acceptable for 7.x > > As Dmitry pointed out the change has been merged. I had voted yes, and I > was prepared to make a few adjustments to the legacy app I work with. > > You can imagine I was extremely surprised to see that the test suite was > green this morning. There might still be some fixing required for the > code that isn't covered by tests, but to me this BC-break seems almost > irrelevant compared to what we had in 7.0 (e.g. PHP4 constructors or > method signatures). > > Of course I can't speak for the majority of the applications out there, > but I think Revive Adserver is a fairly good sample of legacy code one > could find. That change is relatively harmless, right. This is less the case for the other RFC which has been now retargetted for 8. Overall we should be much more careful than simply "it is ok, only a few adjustments". This is exactly what prevented people to upgrade. And now that we finally see a very fast adoption of latest releases, it would be a bad time to go back to always have small breaks per new release. As I feel confident that more will come. Cheers, -- Pierre @pierrejoye | http://www.libgd.org