reference/stream/streamwrapper/stream-read.xml
906db3b3f78cfa98a7453e3910bcba95bc66d1ee
...
...
@@ -10,7 +10,7 @@
10
10
<refsect1 role="description">
11
11
&reftitle.description;
12
12
<methodsynopsis>
13
-
<modifier>public</modifier> <type>string</type><methodname>streamWrapper::stream_read</methodname>
13
+
<modifier>public</modifier> <type class="union"><type>string</type><type>false</type></type><methodname>streamWrapper::stream_read</methodname>
14
14
<methodparam><type>int</type><parameter>count</parameter></methodparam>
15
15
</methodsynopsis>
16
16
<para>
...
...
@@ -46,9 +46,9 @@
46
46
&reftitle.returnvalues;
47
47
<para>
48
48
If there are less than <parameter>count</parameter>
49
-
bytes available, return as many as are available. If no
50
-
more data is available, return either &false; or an
51
-
empty string.
49
+
bytes available, as many as are available should be returned.
50
+
If no more data is available, an empty string should be returned.
51
+
To signal that reading failed, &false; should be returned.
52
52
</para>
53
53
</refsect1>
54
54

55
55