[TYPO3-ect] Autoload-function for lib/div?

Elmar Hinz elmar07 at googlemail.com
Tue Aug 14 13:05:15 CEST 2007


> Normally no.
> 
> see http://us2.php.net/spl_autoload_register
> 
> spl_autoload_register initialises a stack, in which you can put as much
> autoload functions as you like.
> 
> The only thing is, that if you have an existing __autoload-function,
> this have to been registered in spl_autoload_register.
> 
> 
> Joerg


Well that all sounds satisfying. We should test it. 

So you don't need any calls to tx_div::load() during development. If you
need to make a PHP5 extension PHP4 compatible for a customer, you just add
a few of this calls. But you don't do this any more all the time during
development. That's fine.

Regards

Elmar








More information about the TYPO3-team-extension-coordination mailing list