- Upgrade note to warning per comments in bug #24001

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@134382 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Derick Rethans 2003-07-07 19:05:11 +00:00
parent ef4b8a5c89
commit b0aa535d32

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.12 $ -->
<!-- $Revision: 1.13 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.25 -->
<refentry id="function.fread">
<refnamediv>
@ -43,6 +43,15 @@ fclose ($handle);
<function>fopen</function> mode parameter.
</para>
</warning>
<warning>
<para>
When reading from network streams or pipes, such as those returned when
reading <link linkend="features.remote-files">remote files</link> or from
<function>popen</function> and <function>proc_open</function>, reading
will stop after a packet is available. This means that you should
collect the data together in chunks as shown in the example below.
</para>
</warning>
<para>
<informalexample>
<programlisting role="php">
@ -58,15 +67,6 @@ fclose ($handle);
</informalexample>
</para>
<note>
<para>
When reading from network streams or pipes, such as those returned when
reading <link linkend="features.remote-files">remote files</link> or from
<function>popen</function> and <function>proc_open</function>, reading
will stop after a packet is available. This means that you should
collect the data together in chunks as shown in the example below.
</para>
</note>
<para>
<informalexample>
<programlisting role="php">