ZF-10498: Exception thrown in destructor


Zend_Log's __destruct method may throw exceptions in case any writer's shutdown() does. According to PHP's manual, it is a bug to throw exceptions inside destructors.


No writer can throw an exception in the shutdown method. The mail writer has try/catch, and others can not throw an exception.