Easy Tutorial
❮ Func Zip Entry Open Func Directory Chroot ❯

PHP ignore_user_abort() Function

PHP Misc Reference Manual

Example

Set to false (default) - Disconnecting from the client will terminate script execution:

The output of the above code is as follows:


Definition and Usage

The ignore_user_abort() function sets whether disconnecting from a remote client will terminate script execution.

Note: You can call this function without parameters to return the current setting.


Syntax

Parameter Description
setting Optional. If set to TRUE, the disconnection from the user is ignored (the script will continue to run). By default, it is set to FALSE, which causes the script to stop running upon disconnection from the client.

Technical Details

Return Value: Returns the previous value of the user-abort setting (a boolean).
PHP Version: 4+
--- ---

❮ Func Zip Entry Open Func Directory Chroot ❯