note 121400 deleted from function.register-shutdown-function by cmb
| From: | cmb@php.net | Date: | Sun, 24 Nov 2019 09:00:13 +0000 |
| Subject: | note 121400 deleted from function.register-shutdown-function by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213229@lists.php.net to get a copy of this message | ||
Note Submitter: ashnazg at php dot net
----
Regarding michaeln's note about registering __destruct() resulting in the destructor being
called twice. This is true since some PHP5 version.
Doing this step was likely only a tactic in PHP4, in which it worked as expected. However, once
upgrading to PHP5, you'll want to look for and likely remove such usage from your code.