[doc-en] master: Fix parameter type and description for readgzfile()
| From: | Gina Peter Banyard via GitHub | Date: | Thu, 19 Jun 2025 14:59:34 +0000 |
| Subject: | [doc-en] master: Fix parameter type and description for readgzfile() | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-22690@lists.php.net to get a copy of this message | ||
Author: Gina Peter Banyard (Girgias)
Committer: GitHub (web-flow)
Pusher: Girgias
Date: 2025-06-19T15:47:13+01:00
Commit: https://github.com/php/doc-en/commit/499109194434b7ee9e00ff928e1fb55a7eab908d
Raw diff: https://github.com/php/doc-en/commit/499109194434b7ee9e00ff928e1fb55a7eab908d.diff
Fix parameter type and description for readgzfile()
Found while working on https://github.com/php/php-src/pull/18879
Changed paths:
M reference/zlib/functions/readgzfile.xml
Diff:
diff --git a/reference/zlib/functions/readgzfile.xml b/reference/zlib/functions/readgzfile.xml
index 37393b95a412..6ff95163ce55 100644
--- a/reference/zlib/functions/readgzfile.xml
+++ b/reference/zlib/functions/readgzfile.xml
@@ -10,7 +10,7 @@
<methodsynopsis>
<type
class="union"><type>int</type><type>false</type></type><methodname>readgzfile</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
- <methodparam
choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
+ <methodparam
choice="opt"><type>bool</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
</methodsynopsis>
<para>
Reads a file, decompresses it and writes it to standard output.
@@ -37,11 +37,11 @@
<varlistentry>
<term><parameter>use_include_path</parameter></term>
<listitem>
- <para>
- You can set this optional parameter to <literal>1</literal>, if you
- want to search for the file in the <link
- linkend="ini.include-path">include_path</link> too.
- </para>
+ <simpara>
+ When set to &true; the
+ <link linkend="ini.include-path">include_path</link>
+ will be used to determine which file to open.
+ </simpara>
</listitem>
</varlistentry>
</variablelist>