Registers a function that will be called when PHP starts sending output.
The callback is executed just after PHP prepares all
headers to be sent, and before any other output is sent, creating a window
to manipulate the outgoing headers before being sent.
Warning
Callbacks are not stacked. Subsequent calls to header_register_callback()
will silently de-register any existing callback, regardless of where
it was set. Be aware that dependencies may overwrite the callback.
Troubleshooting this scenario can be difficult.
Parameters
callback
Function called just before the headers are sent. It gets no parameters
and the return value is ignored.