March 2002
Intermediate to advanced
528 pages
21h 29m
English
register_shutdown_function
void register_shutdown_function(string function)
Registers a shutdown function. The function is called when the page completes processing. You can register multiple shutdown functions, and they will be called in the order in which they were registered. If a shutdown function contains an exit command, functions registered after that function will not be called.
Because the shutdown function is called after the page has completely
processed, you cannot add data to the page with print( ), echo( ), or similar functions or
commands.
Read now
Unlock full access