(PHP 4, PHP 5, PHP 7)
Register a function for execution on shutdown
void register_shutdown_function ( callable $callback [, mixed $parameter [, mixed $... ]] )
Registers a callback to be executed after script execution finishes or exit() is called.
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