svn: /phpdoc/en/trunk/reference/ misc/functions/ignore-user-abort.xml stream/functions/stream-set-blocking.xml
| From: | Thomas Punt | Date: | Fri, 18 Dec 2015 17:21:47 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/ misc/functions/ignore-user-abort.xml stream/functions/stream-set-blocking.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13911@lists.php.net to get a copy of this message | ||
tpunt Fri, 18 Dec 2015 17:21:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338301
Log:
Fixes bug #71107
Bug: https://bugs.php.net/71107 (Assigned) Some document
problems
Changed paths:
U phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml
U phpdoc/en/trunk/reference/stream/functions/stream-set-blocking.xml
Modified: phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml
===================================================================
--- phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml 2015-12-18 16:23:50 UTC (rev
338300)
+++ phpdoc/en/trunk/reference/misc/functions/ignore-user-abort.xml 2015-12-18 17:21:47 UTC (rev
338301)
@@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>int</type><methodname>ignore_user_abort</methodname>
- <methodparam
choice="opt"><type>string</type><parameter>value</parameter></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>value</parameter></methodparam>
</methodsynopsis>
<para>
Sets whether a client disconnect should cause a script to be aborted.
Modified: phpdoc/en/trunk/reference/stream/functions/stream-set-blocking.xml
===================================================================
--- phpdoc/en/trunk/reference/stream/functions/stream-set-blocking.xml 2015-12-18 16:23:50 UTC (rev
338300)
+++ phpdoc/en/trunk/reference/stream/functions/stream-set-blocking.xml 2015-12-18 17:21:47 UTC (rev
338301)
@@ -11,7 +11,7 @@
<methodsynopsis>
<type>bool</type><methodname>stream_set_blocking</methodname>
<methodparam><type>resource</type><parameter>stream</parameter></methodparam>
-
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
+
<methodparam><type>bool</type><parameter>mode</parameter></methodparam>
</methodsynopsis>
<para>
Sets blocking or non-blocking mode on a <parameter>stream</parameter>.
@@ -38,8 +38,8 @@
<term><parameter>mode</parameter></term>
<listitem>
<para>
- If <parameter>mode</parameter> is 0, the given stream
- will be switched to non-blocking mode, and if 1, it
+ If <parameter>mode</parameter> is &false;, the given stream
+ will be switched to non-blocking mode, and if &true;, it
will be switched to blocking mode. This affects calls like
<function>fgets</function> and <function>fread</function>
that read from the stream. In non-blocking mode an