I have a shutdown function registered using register_shutdown_function() that takes a long time to complete. Will PHP's max_execution_time cause PHP to terminate this function or will it run until it completes or errors out?
Asked
Active
Viewed 1,542 times
5
Joe Lencioni
- 10,231
- 18
- 55
- 66
1 Answers
4
It will run to completion.
http://us2.php.net/manual/en/function.register-shutdown-function.php#33575
profitphp
- 8,104
- 2
- 28
- 21