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?

在PHP中,max_execution_time会影响通过register_shutdown_function()调用运行的关闭函数吗?
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- dongxian7471 2011-01-06 22:20关注
It will run to completion.
http://us2.php.net/manual/en/function.register-shutdown-function.php#33575
本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报