Skip to content

Commit 4991091

Browse files
authored
Fix parameter type and description for readgzfile()
Found while working on php/php-src#18879
1 parent 4c9b6ff commit 4991091

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

reference/zlib/functions/readgzfile.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<methodsynopsis>
1111
<type class="union"><type>int</type><type>false</type></type><methodname>readgzfile</methodname>
1212
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
13-
<methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
13+
<methodparam choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
1414
</methodsynopsis>
1515
<para>
1616
Reads a file, decompresses it and writes it to standard output.
@@ -37,11 +37,11 @@
3737
<varlistentry>
3838
<term><parameter>use_include_path</parameter></term>
3939
<listitem>
40-
<para>
41-
You can set this optional parameter to <literal>1</literal>, if you
42-
want to search for the file in the <link
43-
linkend="ini.include-path">include_path</link> too.
44-
</para>
40+
<simpara>
41+
When set to &true; the
42+
<link linkend="ini.include-path">include_path</link>
43+
will be used to determine which file to open.
44+
</simpara>
4545
</listitem>
4646
</varlistentry>
4747
</variablelist>

0 commit comments

Comments
 (0)