svn: /phpdoc/en/trunk/ features/commandline.xml reference/misc/functions/ignore-user-abort.xml
| From: | Hannes Magnusson | Date: | Sun, 17 Jan 2010 14:45:59 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ features/commandline.xml reference/misc/functions/ignore-user-abort.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-5878@lists.php.net to get a copy of this message | ||
bjori Sun, 17 Jan 2010 14:45:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=293645
Log:
Hopefully fixed bug#48803
"copy&paste" from an email from Rasmus to internals@ recently
Bug: http://bugs.php.net/48803 (Assigned) fprintf(STDOUT,
...) and printf(...) behave differently and affect STDERR
Changed paths:
U phpdoc/en/trunk/features/commandline.xml
U phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml
Modified: phpdoc/en/trunk/features/commandline.xml
===================================================================
--- phpdoc/en/trunk/features/commandline.xml 2010-01-17 14:22:16 UTC (rev 293644)
+++ phpdoc/en/trunk/features/commandline.xml 2010-01-17 14:45:59 UTC (rev 293645)
@@ -198,6 +198,14 @@
e.g. <link linkend="ini.register-argc-argv">register_argc_argv</link>).
</para>
</note>
+ <note>
+ <para>
+ It is recommended to set
+ <link linkend="ini.ignore-user-abort">ignore_user_abort</link> for
+ command line scripts. See <function>ignore_user_abort</function> for
+ more info.
+ </para>
+ </note>
</listitem>
<listitem>
<para>
Modified: phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml
===================================================================
--- phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml 2010-01-17 14:22:16 UTC (rev
293644)
+++ phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml 2010-01-17 14:45:59 UTC (rev
293645)
@@ -15,6 +15,12 @@
<para>
Sets whether a client disconnect should cause a script to be aborted.
</para>
+ <para>
+ 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
+ <parameter>value</parameter> is to to &true;
+ </para>
</refsect1>
<refsect1 role="parameters">