ignore_user_abort

ignore_user_abort

(PHP 4, PHP 5, PHP 7)

ignore_user_abortSet whether a client disconnect should abort script execution

Description

int ignore_user_abort ([ bool $value ] )

Sets whether a client disconnect should cause a script to be aborted.

When running PHP as a command line script, and the script's tty goes away without the script being terminated then the script will die the next time it tries to write anything, unless value is set to TRUE