svn: /phpdoc/en/trunk/reference/stream/streamwrapper/ stream-eof.xml stream-read.xml
| From: | Karoly Negyesi | Date: | Sun, 12 Jun 2011 15:03:18 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/stream/streamwrapper/ stream-eof.xml stream-read.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8250@lists.php.net to get a copy of this message | ||
chx Sun, 12 Jun 2011 15:03:18 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=312102
Log:
adding context to the eof ignored problem
Changed paths:
U phpdoc/en/trunk/reference/stream/streamwrapper/stream-eof.xml
U phpdoc/en/trunk/reference/stream/streamwrapper/stream-read.xml
Modified: phpdoc/en/trunk/reference/stream/streamwrapper/stream-eof.xml
===================================================================
--- phpdoc/en/trunk/reference/stream/streamwrapper/stream-eof.xml 2011-06-12 14:49:10 UTC (rev
312101)
+++ phpdoc/en/trunk/reference/stream/streamwrapper/stream-eof.xml 2011-06-12 15:03:18 UTC (rev
312102)
@@ -58,8 +58,11 @@
&reftitle.notes;
<warning>
<para>
- As long as <methodname>streamWrapper::stream_read</methodname> returns
- a non-empty string the return value of
+ When reading a file, PHP will call call
+ <methodname>streamWrapper::stream_read</methodname> followed by
+ <methodname>streamWrapper::stream_eof</methodname> in a loop but as long
+ as <methodname>streamWrapper::stream_read</methodname> returns a
+ non-empty string, the return value of
<methodname>streamWrapper::stream_eof</methodname> is ignored.
</para>
</warning>
Modified: phpdoc/en/trunk/reference/stream/streamwrapper/stream-read.xml
===================================================================
--- phpdoc/en/trunk/reference/stream/streamwrapper/stream-read.xml 2011-06-12 14:49:10 UTC (rev
312101)
+++ phpdoc/en/trunk/reference/stream/streamwrapper/stream-read.xml 2011-06-12 15:03:18 UTC (rev
312102)
@@ -101,8 +101,11 @@
</note>
<warning>
<para>
- As long as <methodname>streamWrapper::stream_read</methodname> returns
- a non-empty string the return value of
+ When reading a file, PHP will call call
+ <methodname>streamWrapper::stream_read</methodname> followed by
+ <methodname>streamWrapper::stream_eof</methodname> in a loop but as long
+ as <methodname>streamWrapper::stream_read</methodname> returns a
+ non-empty string, the return value of
<methodname>streamWrapper::stream_eof</methodname> is ignored.
</para>
</warning>