svn: /phpdoc/en/trunk/reference/ array/functions/array-walk.xml filesystem/functions/popen.xml
| From: | Karoly Negyesi | Date: | Thu, 10 Feb 2011 12:53:33 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/ array/functions/array-walk.xml filesystem/functions/popen.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7730@lists.php.net to get a copy of this message | ||
chx Thu, 10 Feb 2011 12:53:33 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308188
Log:
tried to clarify what popen does and added a note to array walk.
Changed paths:
U phpdoc/en/trunk/reference/array/functions/array-walk.xml
U phpdoc/en/trunk/reference/filesystem/functions/popen.xml
Modified: phpdoc/en/trunk/reference/array/functions/array-walk.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-walk.xml 2011-02-10 12:52:47 UTC (rev 308187)
+++ phpdoc/en/trunk/reference/array/functions/array-walk.xml 2011-02-10 12:53:33 UTC (rev 308188)
@@ -53,6 +53,14 @@
original array itself.
</para>
</note>
+ <note>
+ <para>
+ Many internal functions (for example <function>strtolower</function>)
+ will throw a warning if more than the expected number of argument
+ are passed in and are not usable directly as
+ <parameter>funcname</parameter>.
+ </para>
+ </note>
<para>
Only the values of the <parameter>array</parameter> may potentially be
changed; its structure cannot be altered, i.e., the programmer cannot
Modified: phpdoc/en/trunk/reference/filesystem/functions/popen.xml
===================================================================
--- phpdoc/en/trunk/reference/filesystem/functions/popen.xml 2011-02-10 12:52:47 UTC (rev 308187)
+++ phpdoc/en/trunk/reference/filesystem/functions/popen.xml 2011-02-10 12:53:33 UTC (rev 308188)
@@ -51,7 +51,10 @@
only be used for reading or writing) and must be closed with
<function>pclose</function>. This pointer may be used with
<function>fgets</function>, <function>fgetss</function>, and
- <function>fwrite</function>.
+ <function>fwrite</function>. When the mode is 'r', the returned
+ file pointer equals to the STDOUT of the command, when the mode
+ is 'w', the returned file pointer equals to the STDIN of the
+ command.
</para>
<para>
If an error occurs, returns &false;.