Yes sorry this is what I mean, a PSR0 compliant autoloader class built
in as standard.

$loader = new SplClassLoader();
$loader->register( '/path/to/my/library' );
etc...


On 27 June 2011 11:57, Dennis Haarbrink <dhaarbr...@gmail.com> wrote:
> 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.magnus...@gmail.com>
>>
>> On Mon, Jun 27, 2011 at 12:19, rod <r...@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
>>
>
>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to