using register_shutdown_function
I can register code to execute at the end of a PHP script execution "no matter what".
Can I have more than one function registered?
This question arises since I may not know if someone has already registered one when I'm about to register my own.
Thanks.
Nevermind, the answer is yes. Manual:
https://www.php.net/register_shutdown_function
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With