I have a stop function registered with register_shutdown_function(), which takes a long time to complete. Will PHP max_execution_timeforce PHP to terminate this function, or will it execute until it completes or an error is executed?
register_shutdown_function()
max_execution_time
It will start to completion.
http://us2.php.net/manual/en/function.register-shutdown-function.php#33575