PHP Manualregister_shutdown_function(PHP 4, PHP 5) register_shutdown_function — Register a function for execution on shutdown Description
Registers a Multiple calls to register_shutdown_function() can be made, and each will be called in the same order as they were registered. If you call exit() within one registered shutdown function, processing will stop completely and no other registered shutdown functions will be called. Parameters
Return ValuesNo value is returned. Errors/Exceptions
If the passed callback is not callable a Changelog
Examples
Example #1 register_shutdown_function() example
<?php Notes
See Also
![]() |
PHP-Index
New Tutorial entries
|