Re: Function auto-loading
| From: | Niklas Keller | Date: | Mon, 08 Aug 2016 16:23:10 +0000 |
| Subject: | Re: Function auto-loading | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-94937@lists.php.net to get a copy of this message | ||
2016-08-08 18:00 GMT+02:00 Levi Morrison <levim@php.net>:
> >
> > I think saying "add a backslash in front of your function names to avoid
> > them being slow" will just lead to lots of "lol wtf php sux".
> >
>
> They'll say the same when function and class autoloading don't work the
> same way anyway. I think unifying their behavior over time is the best
> solution forward. Yes, I'm talking about a BC break eventually, but the
> suggestion to autoload only fully qualified function names could buy us the
> time to make that BC break less severe.
>
Loading only full qualified names will lead to strange bugs.