Re: RFC idea: using the void type to control maximum arity of user-defined functions
| From: | Bilge | Date: | Thu, 04 Apr 2024 21:12:27 +0000 |
| Subject: | Re: RFC idea: using the void type to control maximum arity of user-defined functions | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122944@lists.php.net to get a copy of this message | ||
On 04/04/2024 16:57, Tim Düsterhus wrote:
I think it would be reasonable to consider deprecating passing extra arguments to a non-variadic function.This seems like the only reasonable thing to do, to me. If this were the case, there should be no need for any new syntax, since we could simply deny passing extra arguments in the next major, no? Bilge