Hannes,

There's a RFC covering this. There's a patch also.

https://wiki.php.net/rfc/splclassloader

[]s,

On Mon, Jun 27, 2011 at 7:59 AM, rod <r...@pu-gh.com> wrote:
> 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
>
>



-- 
Guilherme Blanco
Mobile: +55 (16) 9215-8480
MSN: guilhermebla...@hotmail.com
São Paulo - SP/Brazil

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

Reply via email to