Syntax: int ignore_user_abort(int [setting]);
Return value: integer
Function type: PHP system function
Content description
0 - NORMAL (normal) 1 - ABORTED (abnormal exit) 2 - TIMEOUT (timeout)
This function configuration Or get whether the PHP program continues to execute after the client connection is interrupted. The default value is to stop execution after disconnecting. The ignore_user_abort option in the PHP configuration file (php3.ini/php.ini) is the configuration location. This feature is only available after PHP version 3.0.7.
connection_status
Get the connection status.
Syntax: int connection_status(void);
Return value: integer
Function type: Network system
Content description
This function can return the connection status. No parameters are required when using
register_shutdown_function
Define the function to be executed after the PHP program is executed.
Syntax: int register_shutdown_function(string func);
Return value: integer
Function type: PHP system function
Content description
This function defines to the system the function to be executed after the PHP program (Script) is executed. When the specified function is executed, debugging is difficult because the return value cannot be seen.
The above introduces the usage of ignore_user_abort php ignore_user_abort and register_shutdown_function, including the contents of ignore_user_abort. I hope it will be helpful to friends who are interested in PHP tutorials.