note 70702 deleted from function.set-error-handler by cmb

From: Date: Sun, 13 Oct 2019 07:37:01 +0000
Subject: note 70702 deleted from function.set-error-handler by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-212593@lists.php.net to get a copy of this message
Note Submitter: mail at chernousov dot com ---- When fatal error occurs, class destructors are not executed. <? class someClass { function __construct() { echo '__construct()'; } function __destruct() { echo '__destruct()'; } } $someClass = new someClass(); someNonExistentFunction(); ?> Result will be: __construct() Fatal error: Call to undefined function someNonExistentFunction() in tes.php on line 14

« previous php.notes (#212593) next »