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

Ingo Renner ingo at typo3.org
Mon Aug 4 11:39:25 CEST 2008


Dmitry Dulepov [typo3] wrote:

hi Dmitry,

> The problem is that we cannot require SPL for TYPO3... But we can check 
> if it is installed or if function_exists('__autoload').

why not? Of course we can. In PHP 5.2 it's even enabled by default 
(IIRR, at least it's definitly enabled in 5.3). Howver, we actually do 
require it already since TYPO3 4.2 as we throw some SPL Exceptions f.e.

So this is no concern anymore.


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2


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