Re: function autoloading v4 RFC
| From: | Stephen Reay | Date: | Fri, 16 Aug 2024 00:22:14 +0000 |
| Subject: | Re: function autoloading v4 RFC | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-124965@lists.php.net to get a copy of this message | ||
Sent from my iPhone
> On 16 Aug 2024, at 04:45, Rob Landers <rob@bottled.codes> wrote:
>
> Userland functions don't throw that error, so it shouldn't be an issue. (You can pass
> as many arguments as you want to a userland function, as long as there are enough of them).
Hi Rob,
I didn't mean the actual internal error about too many args I meant the concept - it's
possible a userland autoloader callback has some signature other than a single string parameter.
I don't know if that happens in the wild or if that's considered a BC or not but there is
a hypothetical case there where old code would stop working.
Cheers
Stephen