Document how to access the stdio streams..

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@18729 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ken Coar 2000-01-18 17:33:07 +00:00
parent 43320fdba6
commit ae10814d5b

View file

@ -887,6 +887,13 @@ fclose ($fd);
files for either reading and writing via ftp (but not both
simultaneously).
</simpara>
<simpara>
If <parameter>filename</parameter> is one of "php://stdin",
"php://stdout", or "php://stderr", the corresponding stdio
stream will be opened. (This was introduced in PHP 3.0.13;
in earlier versions, a filename such as "/dev/stdin" or
"/dev/fd/0" must be used to access the stdio streams.)
</simpara>
<simpara>
If <parameter>filename</parameter> begins with anything else, the
file will be opened from the filesystem, and a file pointer to