开发者

In PHP does max_execution_time affect shutdown functions that are run through a register_shutdown_function() call?

开发者 https://www.devze.com 2023-02-03 03:12 出处:网络
I have a shutdown function registered using regist开发者_运维技巧er_shutdown_function() that takes a long time to complete. Will PHP\'s max_execution_time cause PHP to terminate this function or will

I have a shutdown function registered using regist开发者_运维技巧er_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?


It will run to completion.

http://us2.php.net/manual/en/function.register-shutdown-function.php#33575

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号