tried to clarify what popen does and added a note to array walk.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308188 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Karoly Negyesi 2011-02-10 12:53:33 +00:00
parent a07a17c15b
commit 0419c2fe75
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -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;.