Home > PHP > Function > Misc. > ignore_user_abort()

ignore_user_abort()

ignore_user_abort - Set whether a client disconnect should abort script execution

Syntax

int ignore_user_abort (string $value)

Arguments

  • value - If set, this function will set the ignore_user_abortini setting to the given value. If not, this function will only return the previous setting without changing it.

Description

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

Version

PHP 4, 5

Return value

Returns the previous setting, as an integer.