Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93712 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 64479 invoked from network); 2 Jun 2016 10:27:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jun 2016 10:27:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=cmbecker69@gmx.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=cmbecker69@gmx.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmx.de designates 212.227.17.21 as permitted sender) X-PHP-List-Original-Sender: cmbecker69@gmx.de X-Host-Fingerprint: 212.227.17.21 mout.gmx.net Received: from [212.227.17.21] ([212.227.17.21:58917] helo=mout.gmx.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F2/50-62101-A1A00575 for ; Thu, 02 Jun 2016 06:27:40 -0400 Received: from [192.168.2.102] ([79.243.113.142]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MHrk1-1bBzB734TF-003f5F; Thu, 02 Jun 2016 12:20:32 +0200 To: Stanislav Malyshev , Dmitry Stogov , PHP internals References: Cc: Nikita Popov Message-ID: Date: Thu, 2 Jun 2016 12:20:35 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:KmyHzYDhPyokQhlFbSBcke+cO4ET+8ke31hgkiML8uqOdQ6XcKo I9qNc/hE+qhQuWQbSFnK8hGe2a18lQ8bixpq2LQC/Qom4ffGf9rmqX+oWWNeqO5qyRVlU07 u5YZeJDrM7AfKJNSPW0pJree6PnVho+6aurvqzX5cy7Mq3KHpDeH8E38g2z0EgmtLakUITo 8bxa67+lLTv4DIGESz74g== X-UI-Out-Filterresults: notjunk:1;V01:K0:0nrvEP9dtlU=:MHbB28Xe0x/i1ysoprHBfL BDrWT4XQqN5wbrvUK7qKb6t6QlYxYJPKCrvS9wqsTSMs4Fp+tQmA7b73d0sY40FHE6O89zr2C 9nBSIoisVGtxWPS0jznbmnzyxP1O0QC8YTx9k2ffQKi4JdwTSw4BPQVEc6Ltw+QZop7f7EZmM wGJOKDk0Y6kVenLMixWwVJssnRnTK13lQG+pCaKlV6p17QDJcBnXW3h4R7mSdnaRZ2QIj0AR+ 1MNsl8ByhHSMxiat4wfdsAXMVkAILj4tBFd0HfehqgH8lSlHYL0Wh9+9hGU9SdUXM5NFkJLMc ija+/4FsdHQhBjpsIxgzo2uTv/CIQTFWn0SSx5XkQ6jIipEL6HUKqxi5GpPz9LxOXTm9YDRFp q7SCU5a33QUcs0mDYScWQp/7dZOoGh+0vG4h7jTqSfOjvLzuhg9nzvFmWbe9HEBcUzEGQzdqG /d9Ls/w8AXi2neiy/UrkEwnWPrEh1s5SNVOIygBLjRaWJg3fNCFUiXYI6HjTahDKCkyfSdWVZ fIMsAafhYnAKVhzoeLlQt/S3K7Dn+JeqYdBMkJBljjm8dBg8D02N2IYMtbgtLLRDsRSVYBYM/ xFwxMjzNRwroISpzCBIW3FFSde5Z+qRG+6oz1AKw74jJNsig9919B6pEY1MJgFfxp0hW7FqvB VUHGJSrtnC+Mh0Vcs5cUG4fiGljbCMRjSbLtBh8z8wG9u7ERVw8hP2HFyjeqMjfC3FizIz+PS 7ENOqCL7xthUXfQX67B7zv+vHWeUWn/57IQrShL/vCVhz+R0zYN4rIwnZgVD/lxY5VDmoyxve AB6xi1f Subject: Re: [PHP-DEV] [RFC] Replace "Missing argument" warning with "Too fewarguments" exception From: cmbecker69@gmx.de (Christoph Becker) On 02.06.2016 at 01:23, Stanislav Malyshev wrote: >> Please take a look into the proposal. >> >> >> https://wiki.php.net/rfc/too_few_args >> >> >> The RFC is extremely simple (both proposal and implementation) and almost completely described by the email subject. > > Looks fine to me. I don't think having undef function parameters is a > very valuable feature ACK > that is widely used. I have seen it several times; most likely the authors did it, because it's common in JavaScript where default parameters are still not widely available. I would have been +1 on this RFC if it had targeted 7.0.0, but I tend to be ±0 for PHP 7.x. -- Christoph M. Becker