5

我注册了一个关机功能register_shutdown_function(),需要很长时间才能完成。PHPmax_execution_time会导致 PHP 终止这个函数还是会一直运行到它完成或出错?

4

1 回答 1

4

它将运行到完成。

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

于 2011-01-06T22:20:25.840 回答