[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] [doc-en] master: Fix GH-1220: streamWrapper::stream_read inconsistent return info
From: "Christoph M. Becker" <noreply () php ! net>
Date: 2021-12-28 11:37:03
Message-ID: yiKxUN7JWakLTVcSiYlPUpwLbdI6DA4Ih2VFqEl96o () main ! php ! net
[Download RAW message or body]
Author: Christoph M. Becker (cmb69)
Date: 2021-12-28T12:37:13+01:00
Commit: https://github.com/php/doc-en/commit/ee4535711f80cd4f13805cb1f272fb170ec32ce6
Raw diff: https://github.com/php/doc-en/commit/ee4535711f80cd4f13805cb1f272fb170ec32ce6.diff
Fix GH-1220: streamWrapper::stream_read inconsistent return info
Changed paths:
M reference/stream/streamwrapper/stream-read.xml
Diff:
diff --git a/reference/stream/streamwrapper/stream-read.xml \
b/reference/stream/streamwrapper/stream-read.xml index 0da913c108..39237909e4 100644
--- a/reference/stream/streamwrapper/stream-read.xml
+++ b/reference/stream/streamwrapper/stream-read.xml
@@ -46,9 +46,9 @@
&reftitle.returnvalues;
<para>
If there are less than <parameter>count</parameter>
- bytes available, return as many as are available. If no
- more data is available, return either &false; or an
- empty string.
+ bytes available, as many as are available should be returned.
+ If no more data is available, an empty string should be returned.
+ To signal that reading failed, &false; should be returned.
</para>
</refsect1>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic