ZF-10498: Exception thrown in destructor
Description
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.
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.
Comments
Posted by BenoƮt Durand (intiilapa) on 2011-01-16T03:03:45.000+0000
No writer can throw an exception in the shutdown method. The mail writer has try/catch, and others can not throw an exception.