Call to class_exists() forces class loading ...
Status: Alpha
Brought to you by:
cod3gen
Hi.
Couldn't get the complete subject in ...
Call to class_exists() forces class loading if used within an environment where an autoload() exists (either __autoload() or via spl_autoload_register()).
Since PHP5, class_exists() has accepted a second parameter to suppress the auto loading of a class whilst seeing if it exists (i.e. previously loaded).
Patch supplied.
Inhibit autoloading of class while testing for its existence.