register_shutdown_function

register_shutdown_function -- Register a function for execution on shutdown.

Description

int register_shutdown_function(string func);

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