Before 1.8 it was possible to something like this: if (! class_exists($class)) throw new Exception("$class not found");
If the class wasn't loaded, or couldn't be loaded (using autoloader) it would just return false. Now in 1.8 it throws a warning include(...): failed to open stream: No such file or directory Doing @class_exists($class) has nasty effect of silencing all errors in the file, even parse errors. I tried suppressNotFoundWarnings(true) in the autoloader, but it essentially does the same but for all classes which is even worse. IMO this method is not named properly because it suppresses a lot more than "not found" warnings. Is there any way in ZF 1.8 to check if a class is loaded/can be loaded without producing any warnings in case it's not? Assuming full error suppression is not an option for obvious reasons. Thanks -- View this message in context: http://www.nabble.com/using-class_exists%28%29-without-warnings-in-1.8-tp23763269p23763269.html Sent from the Zend Framework mailing list archive at Nabble.com.