Re: Draft RFC callable types + callable type/function autoloading
| From: | tyson andre | Date: | Thu, 21 May 2020 01:54:04 +0000 |
| Subject: | Re: Draft RFC callable types + callable type/function autoloading | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110227@lists.php.net to get a copy of this message | ||
Hi Dan Ackroyd,
> I'd be happy to see function autoloading support in php overall.
> It'd help in avoiding loading unnecessary polyfills,
> or in large codebases with many global functions that are only occasionally used.
I forgot, but I'd also started the thread https://externals.io/message/107967
("Autoloading functions/consts without a performance impact") 5 months ago,
and got sidetracked looking into ways to reduce ambiguity in calls to functions.
It might have been a better idea for me to start a straw poll instead of that,
but I didn't know how representative initial feedback was,
and I'm no longer working on autoloading.
Some of the messages might be relevant for the "Discussions" section of an RFC.
Thanks,
- Tyson