Re: [RFC] Function autoloading through spl_autoload*
| From: | Derick Rethans | Date: | Sun, 14 Aug 2011 13:55:43 +0000 |
| Subject: | Re: [RFC] Function autoloading through spl_autoload* | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-54581@lists.php.net to get a copy of this message | ||
On Sat, 6 Aug 2011, Ferenc Kovacs wrote:
> I would like to introduce this RFC which would provide function
> autoloading through the spl_autoload facility without userland BC
> breakage.
>
> https://wiki.php.net/rfc/autofunc
I understand the proposal, but I don't see any compelling reasons in the
RFC of why we actually need autoloading for functions? For classes it
makes sense because there is almost always a class to file mapping. For
functions (and constants) that is not the case, so I am wondering how
useful this function autoloading actually is.
cheers,
Derick
--
http://derickrethans.nl | http://xdebug.org
Like Xdebug? Consider a donation: http://xdebug.org/donate.php
twitter: @derickr and @xdebug