arg2[, ... mixed
Registers a shutdown function. The function is called when the page completes processing with the given arguments. 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
echo(), or similar functions or