[TYPO3-project-4-3] autoloader using SPL
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Aug 4 10:28:12 CEST 2008
Hi!
Martin Kutschker wrote:
> Some extension could intergrate a 3rd party lib that implements an
> __autoload function. But thinking again this lib would also break our
> SPL implementation. OTOH if both TYPO3 and the 3rd party libs use the
> SPL mech everything's alright. So SPL is safer than a plain __autoload()
> implementation.
The problem is that we cannot require SPL for TYPO3... But we can check if it is installed or if function_exists('__autoload').
--
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