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 <[email protected]> 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 <[email protected]> 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 <[email protected]> >>> >>> On Mon, Jun 27, 2011 at 12:19, rod <[email protected]> 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: [email protected] São Paulo - SP/Brazil -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
