Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:93671 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41275 invoked from network); 1 Jun 2016 11:08:16 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Jun 2016 11:08:16 -0000 Authentication-Results: pb1.pair.com smtp.mail=ml@anderiasch.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ml@anderiasch.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain anderiasch.de designates 81.169.138.148 as permitted sender) X-PHP-List-Original-Sender: ml@anderiasch.de X-Host-Fingerprint: 81.169.138.148 ares.art-core.org Received: from [81.169.138.148] ([81.169.138.148:52302] helo=ares.art-core.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/B3-11325-E12CE475 for ; Wed, 01 Jun 2016 07:08:14 -0400 Received: from parabellum.local (p5093a1a9.dip0.t-ipconnect.de [80.147.161.169]) by ares.art-core.org (mail.art-core.org) with ESMTPSA id 7C904CC40301; Wed, 1 Jun 2016 13:08:10 +0200 (CEST) To: Dmitry Stogov , PHP internals References: Cc: Nikita Popov Message-ID: <44770730-751f-7db2-436f-429c762dd52f@anderiasch.de> Date: Wed, 1 Jun 2016 13:08:09 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Thunderbird/47.0a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Replace "Missing argument" warning with "Too few arguments" exception From: ml@anderiasch.de (Florian Anderiasch) On 06/01/2016 12:55 PM, Dmitry Stogov wrote: > hi, > Please take a look into the proposal. > > https://wiki.php.net/rfc/too_few_args My first thought went into how people use func_get_args() as this is (in a sense) the opposite thereof. That said I couldn't think of a good reason to disagree, but maybe someone has a valid example where this change would have unforeseen consequences. ~Florian