Multiple calls to register_shutdown_function() can be made, and each will be called in the same order as they were registered.
Registers the function named by func to be executed when script processing is complete.