Re: [RFC] Replace "Missing argument" warning with "Too fewarguments" exception

From: Date: Thu, 02 Jun 2016 10:20:35 +0000
Subject: Re: [RFC] Replace "Missing argument" warning with "Too fewarguments" exception
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-93712@lists.php.net to get a copy of this message
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

« previous php.internals (#93712) next »