Why isn't `spl_autoload` called for functions?
| From: | Levi Morrison | Date: | Mon, 05 Nov 2012 20:41:46 +0000 |
| Subject: | Why isn't `spl_autoload` called for functions? | ||
| Groups: | php.webmaster | ||
| Request: | Send a blank email to php-webmaster+get-14919@lists.php.net to get a copy of this message | ||
I hear people complaining about this out in user-land all the time, but
I've never seen anyone from internals respond. With practically everyone
using an autoloader these days, it really borks your workflow to use
require_once just to load a function.
So why don't we call spl_autoload for undefined functions? Are there
technical reasons, or has this not been discussed?