Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93845 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96511 invoked from network); 6 Jun 2016 13:38:32 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 6 Jun 2016 13:38:32 -0000 Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.20 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.20 mout.gmx.net Received: from [212.227.17.20] ([212.227.17.20:64646] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6C/93-10476-4DC75575 for ; Mon, 06 Jun 2016 09:38:29 -0400 Received: from [192.168.2.102] ([217.82.228.97]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MBq8p-1bHqxr3F4B-00ArBP; Mon, 06 Jun 2016 15:38:24 +0200 To: Rowan Collins , internals@lists.php.net References: Message-ID: <7d8183f5-4bea-d59f-79a6-7bde423854fc@gmx.de> Date: Mon, 6 Jun 2016 15:38:37 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:DeHS5kene3Oh9RCtuitNH0sbIt/fBHfAkEfFcJ9n6lyjfcykB7i W2TfgDxI3c2a16i0MUrrcGDLWyn5+3qyIiBZEMwiWxtgxjAKXf8VI0rPnKmqnK4OkUm6iZQ zIU1ViN2RrXR1M3TLVW5PqiE8RIznJ7lX7ukfkZFxtamIhdYhqXs68oREZkYMDNdKmF/Ql0 uJJ7Xh+MKGkZ644G54gqQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:7MZe2szytfc=:uYSxepWGPu4QNOT1OW7SM7 Ntg8UFqWaFUyjBi8uBU+mYVu8DG5yy7TheTnhONGMDVzPZuUt4n8Qa/lQTYO0Aps4EPZoN4Qb hnNa0jAMIE+0hVZQ4ul3ioin6hkBoFr+QbaENfOow6ev+lFQbZWlBcxJqjtSSF1gT4ScKh4D/ mfF6lVD3kj4Gmznravz5WUPs8Kd/qpVWXTGN1d1nr2snhTiEtAGQzPu7oedpAFUdvyoNILEVS FV6WjT1sYwBL8+PKuM/eTBo95M2Y6L2VxpNtzrtUKOEkhjbAFfnvp2tjZkUu6zbEbG6e+RcTA kyDmNiWBSOBmrfUYMSykmjuldYQVgRNSfb/lV4pl6vAaFdssOGUgh7sQIoWZ+SP3NNdGeQaf9 dB1Z2VJcMO2izOM7OUMq/yc9dlLzdyqGh2rCxUiIvJgp3Z9hbcEdApZ/mGbAJpaC7kQGee8Fq 8/Q7/3+mgjo2nlUBgKM3xbNgYS5ATod59G+ezSiBE1ieF6vYeVlLMv1sE6LXWxdGYZi4oNyyY o9pYvGbela5nnJpPR6OpBMmKUpM3oHI3ptuwVTW1qY3ZGN9hj4FRwRMG13ZQ9+y5CcnHf1s7C B+R/w3+EQpzNZ4nV2vl32MXD2iZaCZ8+TNl6hKKBjYO6D0uRU+BMGhOaYWq4iYSD05F4V2lqh BjkiA6Zzywq2nAkr6e4nKjA79Cfiqw+YSrkdofJ7AUv6QHMlMZYqwj16vByJagrxURfpcDWOW T18zPl3WR56QH6WSHo01dYZG2Ma5+rfoE1ajUiI2bWAz72XOmIGv8e7DXjQRvRY5bxk54cQqy B5RFx+F Subject: Re: [PHP-DEV] [RFC] [VOTE] Replace "Missing argument" warning with"Too few arguments" exception From: cmbecker69@gmx.de (Christoph Becker) Rowan Collins wrote: > On 06/06/2016 08:22, Dmitry Stogov wrote: > >> This mini RFC has been moved to "Voting" state. Voting >> began on Jun 6 and will close on June 16. >> >> You can find the full RFC at: https://wiki.php.net/rfc/too_few_args >> >> I encourage everyone to read the RFC and cast your vote towards whichever >> option you feel is the best for the language and the community. > > I don't have a vote, but if I did I would vote against making this > change in a minor release. > > The release process RFC [1] says that for a release such as 7.1 > "Backward compatibility must be kept". This RFC gives no justification > for being an exception to this rule, simply acknowledging that it is a > deliberate break in compatibility. In my opinion it would be good to more explicitly clarify what constitutes an unacceptable BC break. Bug fixes are allowed, but even those sometimes cause a BC break (as a programmer may rely on the buggy behavior). After all, to me it comes down to whether a certain behavior is documented – if it is not documented a user should not rely on it. While I have not been able to find the behavior described in the PHP manual, it is explicitly specified in the PHP language specification[2]: | Otherwise, if the parameter has no corresponding argument and the | parameter does not have a default value, the parameter variable is | non-existent and no corresponding VSlot exists. > It's a shame it didn't make it for 7.0, but in my opinion, this should > now wait for 8.0. I'm afraid I have to agree. > [1] https://wiki.php.net/rfc/releaseprocess [2] -- Christoph M. Becker