Register a function for execution on shutdown
register_shutdown_function ( callable $callback [, mixed $... ] ) : void
The shutdown callback to register. The shutdown callbacks are executed as the part of the request, so it's possible to send output from them and access output buffers.
It is possible to pass parameters to the shutdown function by passing additional parameters.
No value is returned.