int register_shutdown_function
Registers the function named by func to be executed when script processing is complete.