4 ms·
Just move your code to a register_shutdown_function() call and it will execute after the output has been sent, but without having to deal with forking a backgro
by there 14y ago
Just move your code to a register_shutdown_function() call and it will execute after the output has been sent, but without having to deal with forking a background PHP process or running out-of-context.