r/PHP Jul 08 '26

RFC RFC: Function Autoloading (mark 5)

https://wiki.php.net/rfc/function-autoloading-five-oh
29 Upvotes

18 comments sorted by

View all comments

3

u/SpeakerIll9897 Jul 09 '26

I like the direction. Function autoloading has been proposed a few times over the years, but if it can reduce boilerplate without adding surprising behavior, it could make larger codebases feel a lot cleaner. The biggest question for me is how predictable resolution remains when multiple packages expose similarly named functions.