svn: /phpdoc/en/trunk/language/wrappers/ php.xml
| From: | Adam Harvey | Date: | Fri, 08 Apr 2011 08:40:28 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/wrappers/ php.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7933@lists.php.net to get a copy of this message | ||
aharvey Fri, 08 Apr 2011 08:40:28 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=310044
Log:
Fix doc bug #54489 (Add php://fd/ to documentation).
Bug: http://bugs.php.net/54489 (Open) Add php://fd/ to
documentation
Changed paths:
U phpdoc/en/trunk/language/wrappers/php.xml
Modified: phpdoc/en/trunk/language/wrappers/php.xml
===================================================================
--- phpdoc/en/trunk/language/wrappers/php.xml 2011-04-08 08:35:16 UTC (rev 310043)
+++ phpdoc/en/trunk/language/wrappers/php.xml 2011-04-08 08:40:28 UTC (rev 310044)
@@ -59,6 +59,12 @@
</simpara>
<simpara>
+ <filename>php://fd</filename> allows direct access to the given file
+ descriptor. For example, <filename>php://fd/3</filename> refers to file
+ descriptor 3.
+ </simpara>
+
+ <simpara>
<filename>php://filter</filename> is a kind of meta-wrapper designed
to permit the application of filters to a stream at the time of
opening. This is useful with all-in-one file functions such as
@@ -84,6 +90,7 @@
<listitem><simpara><filename>php://filter</filename> (available since
PHP 5.0.0)</simpara></listitem>
<listitem><simpara><filename>php://memory</filename> (available since
PHP 5.1.0)</simpara></listitem>
<listitem><simpara><filename>php://temp</filename> (available since PHP
5.1.0)</simpara></listitem>
+ <listitem><simpara><filename>php://fd</filename> (available since PHP
5.3.6)</simpara></listitem>
</itemizedlist>
</refsect1> <!-- }}} -->
@@ -121,6 +128,7 @@
<entry>
<literal>php://stdin</literal>,
<literal>php://input</literal>,
+ <literal>php://fd</literal>,
<literal>php://memory</literal> and
<literal>php://temp</literal> only.
</entry>
@@ -131,6 +139,7 @@
<literal>php://stdout</literal>,
<literal>php://stderr</literal>,
<literal>php://output</literal>,
+ <literal>php://fd</literal>,
<literal>php://memory</literal> and
<literal>php://temp</literal> only.
</entry>
@@ -141,6 +150,7 @@
<literal>php://stdout</literal>,
<literal>php://stderr</literal>,
<literal>php://output</literal>,
+ <literal>php://fd</literal>,
<literal>php://memory</literal> and
<literal>php://temp</literal> only. (Equivalent to writing)
</entry>
@@ -148,6 +158,7 @@
<row>
<entry>Allows Simultaneous Reading and Writing</entry>
<entry>
+ <literal>php://fd</literal>,
<literal>php://memory</literal> and
<literal>php://temp</literal> only.
</entry>
@@ -178,8 +189,11 @@
<row>
<entry>Supports <function>stream_select</function></entry>
<entry>
- <literal>php://stdin</literal>, <literal>php://stdout</literal>,
- <literal>php://stderr</literal> and <literal>php://temp</literal>.
+ <literal>php://stdin</literal>,
+ <literal>php://stdout</literal>,
+ <literal>php://stderr</literal>,
+ <literal>php://fd</literal> and
+ <literal>php://temp</literal> only.
</entry>
</row>
</tbody>