Stanislav Malyshev wrote:
I tend to agree that the autoloader function should not produce errors,

Does it produce error or warning?

Depends on the situation. For example, if you autoload with Zend_Loader a class for which the file does not exist, include_once emits a warning. If the file exists, and it contains a parse error, it is not suppressed and the fatal error is handled in the normal PHP way. It's also possible that user code contains something that generates other warnings or errors, and these are neither suppressed nor caught using a custom error handler.

Best regards,
Darby

Reply via email to