Re: [RFC] Replace "Missing argument" warning with "Too few arguments" exception
| From: | Rowan Collins | Date: | Wed, 01 Jun 2016 20:56:21 +0000 |
| Subject: | Re: [RFC] Replace "Missing argument" warning with "Too few arguments" exception | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-93697@lists.php.net to get a copy of this message | ||
On 01/06/2016 19:36, Aaron Piotrowski wrote:
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.I think you're overestimating how much people care about their code running without warnings. You don't have to suppress anything, just lazily ignore warnings, or log them to a file you never get round to reading. It *might* be that most users spot and act on the warnings, but I'm not sure how we could know that with any confidence. Regards, -- Rowan Collins [IMSoP]