reference/zlib/functions/gzdecode.xml
7fc84e37b7201abc5e70bfca04256e54885fceca
...
...
@@ -8,9 +8,9 @@
8
8
<refsect1 role="description">
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
-
<type>string</type><methodname>gzdecode</methodname>
11
+
<type class="union"><type>string</type><type>false</type></type><methodname>gzdecode</methodname>
12
12
<methodparam><type>string</type><parameter>data</parameter></methodparam>
13
-
<methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
13
+
<methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
14
14
</methodsynopsis>
15
15
<para>
16
16
This function returns a decoded version of the input
...
...
@@ -30,7 +30,7 @@
30
30
</listitem>
31
31
</varlistentry>
32
32
<varlistentry>
33
-
<term><parameter>length</parameter></term>
33
+
<term><parameter>max_length</parameter></term>
34
34
<listitem>
35
35
<para>
36
36
The maximum length of data to decode.
...
...
@@ -43,7 +43,14 @@
43
43
<refsect1 role="returnvalues">
44
44
&reftitle.returnvalues;
45
45
<para>
46
-
The decoded string, or &false; if an error occurred.
46
+
The decoded string, or &return.falseforfailure;.
47
+
</para>
48
+
</refsect1>
49
+

50
+
<refsect1 role="errors">
51
+
&reftitle.errors;
52
+
<para>
53
+
In case of failure, an <constant>E_WARNING</constant> level error is issued.
47
54
</para>
48
55
</refsect1>
49
56

...
...
@@ -56,7 +63,6 @@
56
63
</para>
57
64
</refsect1>
58
65
</refentry>
59
-

60
66
<!-- Keep this comment at the end of the file
61
67
Local variables:
62
68
mode: sgml
63
69