func_get_args() useful, when we pass more actual parameters than expected.
This case is unaffected.

Thanks. Dmitry.

________________________________________
From: Florian Anderiasch <m...@anderiasch.de>
Sent: Wednesday, June 1, 2016 2:08:09 PM
To: Dmitry Stogov; PHP internals
Cc: Nikita Popov
Subject: Re: [PHP-DEV] [RFC] Replace "Missing argument" warning with "Too few 
arguments" exception

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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to