A while ago I decided I like the idea of __autoload
or what seems to be better spl_autoload_register(),
so now all my projects use this.
But a major problem arises using third party classes that make use of class_exists().
Because class_exists will call autoload if the class has not been defined
and autoload has.
So unless your autoload function can map in the directory structure of the third party class a critical error occurs
This is the most idiotic thing I have come across in PHP.
Why should class_exists have the potential to crash a program?
Has anybody found a suitable work-around for this bug that PHP DENY is a bug? http://bugs.php.net/bug.php?id=47001