ignore_user_abort
连接中断后程序是否执行
本 函数配置或取得使用端连接中断后,PHP 程序是否仍继续执行。默认值为中断连接后就停止执行。在 PHP 配置文件中 (php3.ini/php.ini) 的 ignore_user_abort 选项就是配置处。本功能在 PHP 3.0.7 版之后才开始提供。
ignore_user_abort
(PHP 3>= 3.0.7, PHP 4 )
ignore_user_abort -- Set whether a client disconnect should abort script executionDescription
int ignore_user_abort ( [bool setting])This function sets whether a client disconnect should cause a script to be aborted. It will return the previous setting and can be called without an argument to not change the current setting and only return the current setting. See the Connection Handling section in the Features chapter for a complete description of connection handling in PHP.
本文深入探讨PHP ignore_user_abort函数的作用,解释其如何在连接中断时控制脚本执行流程,详细介绍了设置方法及功能应用。
1677

被折叠的 条评论
为什么被折叠?



