note 77074 deleted from function.register-shutdown-function by crell
| From: | crell@php.net | Date: | Wed, 30 Mar 2022 21:57:53 +0000 |
| Subject: | note 77074 deleted from function.register-shutdown-function by crell | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-217800@lists.php.net to get a copy of this message | ||
Note Submitter: Fuzika
----
Sinured's example of how to use a static method did not work for me.
But this did:
<?php
register_shutdown_function(array('theClass','theStaticMethod'));
?>
Hope this helps someone.
[EDIT by danbrown AT php DOT net: This example did not work for the author of this note because it
is written for PHP 5. The author was using PHP 4.]