Say I've registered the extra namespace "Tracker_" in the config file for some classes I've written, using
autoloadernamespaces[]="Tracker_"
Things with this namespace and autoloader work as expected except when I am testing for error handling. When I test whether a non-existing class exists, using
class_exists("Tracker_DoesNotExist");
It throws an exception
include_once(Tracker/DoesNotExist.php): failed to open stream: No such file or directory
/path/Zend/Loader.php:146
/path/Zend/Loader.php:146
/path/Zend/Loader.php:94
/path/Zend/Loader/Autoloader.php:479
/path/Zend/Loader/Autoloader.php:124
/other/path/TrackablesMapper.php:40 //line referenced above
Meanwhile, the same class_exists function works for every other case I've tested, i.e.
class_exists("Application_ExistingClass"); //returns true
class_exists("Application_NonExistingClass"); //returns false
class_exists("Tracker_ExistingClass"); //returns true
Am I doing something wrong?