[TYPO3-project-4-3] autoloader using SPL
Dmitry Dulepov [typo3]
dmitry at typo3.org
Mon Aug 4 10:36:16 CEST 2008
Hi!
Martin Kutschker wrote:
> I just noticed that the SPL extension has a stackable autoloader. I
> suggest we use this for t3lib, tslib and possibly typo3/classes instead
> of writing our own __autoload(). We could but we would clash with all
> other PHP5 autoload implementations and SPL is installed by default.
I just read one another funny thing about autoloader: calling class_exists('className') causes class to be loaded ;) That makes some calls in t3lib_div and tslib_cObj useless.
--
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