[TYPO3-project-4-3] autoloader using SPL

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Aug 4 16:39:35 CEST 2008


Hi!

Martin Kutschker wrote:
> Do you know what SPL is? It's a PHP extension that comes shipped by
> default with PHP, just like "gd", "preg" or the various XML extension we
> require.

It is not installed by default on my SuSE.

> It has a few goodies like the autoloader "service" and iterator classes.
> The only point for SPL and autoloading is to use it not to interfere
> with any other PHP code that makes use of it. A kind of politeness ;-)

As I said you can "function_exists" it. SPL is not the only framework that provides autoload and counting only SPL is not good.

-- 
Dmitry Dulepov
TYPO3 Core team
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book
In the blog: http://typo3bloke.net/post-details/typo3_code_formatting_in_eclipse/


More information about the TYPO3-project-4-3 mailing list