> 
> On Jun 1, 2016, at 5:55 AM, Dmitry Stogov <dmi...@zend.com> wrote:
> 
> hi,
> 
> 
> 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.
> 
> I think, this mini-RFC doesn't need 2-weeks discussion period, so I'm going 
> to start the vote on next week.
> 
> 
> Thanks. Dmitry.

+1 on this change. IMO, this is one of the few remaining unusual PHP behaviors 
that exists for no obvious reason. A function should not be called if too few 
arguments are provided.

While this might be considered a BC break, I can't imagine there's an actual 
code out there relying on suppressing the warning just to call a function 
without enough arguments. I see no problem putting this change in 7.1.

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

Reply via email to