ZF-10498: Exception thrown in destructor

Issue Type: Bug Created: 2010-09-27T01:02:28.000+0000 Last Updated: 2011-01-16T03:03:45.000+0000 Status: Open Fix version(s): Reporter: Marcin Kowalski (mkowalski) Assignee: Eddo Rotman (karnaf) Tags: - Zend_Log

Related issues: Attachments:


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.


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.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.