From 24e7ff90535800f7aaab51203b090742515a1b02 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sun, 17 Jan 2010 14:45:59 +0000 Subject: [PATCH] Hopefully fixed bug#48803 "copy&paste" from an email from Rasmus to internals@ recently git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@293645 c90b9560-bf6c-de11-be94-00142212c4b1 --- features/commandline.xml | 8 ++++++++ reference/misc/functions/ignore-user-abort.xml | 6 ++++++ 2 files changed, 14 insertions(+) diff --git a/features/commandline.xml b/features/commandline.xml index 389bfd7762..6fb1d9d686 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -198,6 +198,14 @@ e.g. register_argc_argv). + + + It is recommended to set + ignore_user_abort for + command line scripts. See ignore_user_abort for + more info. + + diff --git a/reference/misc/functions/ignore-user-abort.xml b/reference/misc/functions/ignore-user-abort.xml index 177e44a9e1..7de22afe6e 100644 --- a/reference/misc/functions/ignore-user-abort.xml +++ b/reference/misc/functions/ignore-user-abort.xml @@ -15,6 +15,12 @@ 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 to to &true; +