Re: SplClassLoader
| From: | Dennis Haarbrink | Date: | Mon, 27 Jun 2011 10:57:51 +0000 |
| Subject: | Re: SplClassLoader | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-53597@lists.php.net to get a copy of this message | ||
I suppose what he means is a classloader *implementation*.
Something along the lines of:
function($class) {
return str_replace('\\', DIRECTORY_SEPARATOR, $class) . '.php';
}
2011/6/27 Hannes Magnusson <hannes.magnusson@gmail.com>
> On Mon, Jun 27, 2011 at 12:19, rod <rod@pu-gh.com> wrote:
> > Quick question: is there any planned inclusion in PHP for an
> SplClassLoader?
> >
>
> What would that class do that the spl_autoload*() functions don't?
>
> -Hannes
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>