Re: Autoloading now in trunk

2009-04-28 Thread Knut Urdalen
Christian Grobmeier wrote: does this function break applications which defined an own autoload? No, it should not. You can only have one __autoload() function while with spl_autoload_register() you can add multiple autoload functions to the autoload stack. http://de.php.net/spl_autoload_

Re: Autoloading now in trunk

2009-04-28 Thread Christian Grobmeier
Hi Knut, does this function break applications which defined an own autoload? http://de.php.net/spl_autoload_register "If your code has an existing __autoload function then this function must be explicitly registered on the __autoload stack." This would break for example the PIWI frameworks incl

Autoloading now in trunk

2009-04-28 Thread Knut Urdalen
Hi all, As you may have seen I've just refactored trunk to load classes with PHP's autoload [1]. I've tested all examples and current unit tests with this change and nothing should break. The LoggerManager is now self aware of all classes and autoload is registered when you include LoggerMan