svn: /phpdoc/ja/trunk/ appendices/resources.xml reference/zlib/functions/deflate_add.xml reference/zlib/functions/deflate_init.xml reference/zlib/functions/gzclose.xml reference/zlib/functions/gzcompress.xml reference/zlib/functions/gzdecode.xml reference/zlib/functions/gzdeflate.xml reference/zlib/functions/gzencode.xml reference/zlib/functions/gzeof.xml reference/zlib/functions/gzfile.xml reference/zlib/functions/gzgetc.xml reference/zlib/functions/gzgets.xml reference/zlib/functions/gzinflate

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Thu, 26 Nov 2020 00:54:59 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351660

Log:
Generate zlib methodsynopses based on stubs

Closes GH-235.

Changed paths:
    U   phpdoc/ja/trunk/appendices/resources.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/deflate_add.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/deflate_init.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzclose.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzcompress.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzdecode.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzdeflate.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzencode.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzeof.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzfile.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzgetc.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzgets.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzinflate.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzopen.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzpassthru.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzread.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzrewind.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzseek.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gztell.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzuncompress.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/gzwrite.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/inflate-get-read-len.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/inflate-get-status.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/inflate_add.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/inflate_init.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/zlib-decode.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/zlib-encode.xml
    U   phpdoc/ja/trunk/reference/zlib/functions/zlib-get-coding-type.xml
    U   phpdoc/ja/trunk/reference/zlib/setup.xml
svn-diffs-351660.txt (text/x-diff, 53.9 KB)
Modified: phpdoc/ja/trunk/appendices/resources.xml
===================================================================
--- phpdoc/ja/trunk/appendices/resources.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/appendices/resources.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351538 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: takagi,mumumu -->
 <appendix xml:id="resource" xmlns="http://docbook.org/ns/docbook">
  <title>リソース型の一覧</title>
@@ -1756,7 +1756,7 @@
     <entry>
      なし
     </entry>
-    <entry>インクリメンタル圧縮コンテキスト</entry>
+    <entry>インクリメンタル圧縮コンテキスト(PHP 8.0.0 より前)</entry>
    </row>
    <row>
     <entry>zlib.inflate</entry>
@@ -1765,11 +1765,14 @@
     </entry>
     <entry>
      <function>inflate_add</function>
+     <function>inflate_add</function>,
+     <function>inflate_get_read_len</function>,
+     <function>inflate_get_status</function>
     </entry>
     <entry>
      なし
     </entry>
-    <entry>インクリメンタル伸長コンテキスト</entry>
+    <entry>インクリメンタル伸長コンテキスト(PHP 8.0.0 より前)</entry>
    </row>
        </tbody>
    </tgroup>

Modified: phpdoc/ja/trunk/reference/zlib/functions/deflate_add.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/deflate_add.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/deflate_add.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: mumumu Status: ready -->

 <refentry xml:id="function.deflate-add" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -12,9 +12,9 @@
   &reftitle.description;
   <methodsynopsis>
    <type class="union"><type>string</type><type>false</type></type><methodname>deflate_add</methodname>
-   <methodparam><type>resource</type><parameter>context</parameter></methodparam>
+   <methodparam><type>DeflateContext</type><parameter>context</parameter></methodparam>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer>ZLIB_SYNC_FLUSH</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer><constant>ZLIB_SYNC_FLUSH</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    指定されたコンテクストで、インクリメンタルにデータを圧縮します。
@@ -75,6 +75,30 @@
   </para>
  </refsect1><!-- }}} -->

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>context</parameter> は、
+       <classname>DeflateContext</classname> クラスのインスタンスを期待するようになりました。
+       これより前のバージョンでは、<type>resource</type> を期待していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="seealso"><!-- {{{ -->
   &reftitle.seealso;
   <simplelist>
@@ -83,7 +107,6 @@
  </refsect1><!-- }}} -->

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/deflate_init.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/deflate_init.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/deflate_init.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351455 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: mumumu Status: ready -->

 <refentry xml:id="function.deflate-init" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -11,9 +11,9 @@
  <refsect1 role="description"><!-- {{{ -->
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>resource</type><type>false</type></type><methodname>deflate_init</methodname>
+   <type class="union"><type>DeflateContext</type><type>false</type></type><methodname>deflate_init</methodname>
    <methodparam><type>int</type><parameter>encoding</parameter></methodparam>
-   <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
+   <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
   </methodsynopsis>
   <para>
    指定された <parameter>encoding</parameter> を使って
@@ -128,6 +128,30 @@
   </para>
  </refsect1><!-- }}} -->

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       成功時に、この関数は
+       <classname>DeflateContext</classname> クラスのインスタンスを返すようになりました。
+       これより前のバージョンでは、<type>resource</type> を返していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="seealso"><!-- {{{ -->
   &reftitle.seealso;
   <simplelist>
@@ -137,7 +161,6 @@
  </refsect1><!-- }}} -->

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzclose.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzclose.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzclose.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzclose" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>gzclose</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
   </methodsynopsis>
   <para>
    与えられた gz ファイルへのポインタを閉じます。
@@ -22,7 +22,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gzファイルポインタ。有効なファイルポインタであり、かつ、
@@ -66,7 +66,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzcompress.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzcompress.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzcompress.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka,mumumu -->
 <refentry xml:id="function.gzcompress" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -10,10 +10,10 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzcompress</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzcompress</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>ZLIB_ENCODING_DEFLATE</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_DEFLATE</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    この関数は、<literal>ZLIB</literal> データフォーマットを用いて
@@ -101,7 +101,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzdecode.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzdecode.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzdecode.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: takagi Status: ready -->
 <refentry xml:id="function.gzdecode" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>gzdecode</refname>
@@ -9,9 +9,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzdecode</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzdecode</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
    この関数は、入力された <parameter>data</parameter>
@@ -32,7 +32,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>length</parameter></term>
+     <term><parameter>max_length</parameter></term>
      <listitem>
       <para>
        デコードするデータの最大長。
@@ -59,7 +59,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzdeflate.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzdeflate.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzdeflate.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka,mumumu -->
 <refentry xml:id="function.gzdeflate" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -10,10 +10,10 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzdeflate</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzdeflate</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer>ZLIB_ENCODING_RAW</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_RAW</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    この関数は、<literal>DEFLATE</literal> データフォーマットを用いて
@@ -93,7 +93,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzencode.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzencode.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzencode.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 350656 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: takagi Status: ready -->
 <!-- CREDITS: hirokawa,shimooka,mumumu -->
 <refentry xml:id="function.gzencode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -11,10 +11,10 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzencode</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzencode</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>encoding_mode</parameter><initializer>FORCE_GZIP</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>encoding</parameter><initializer><constant>ZLIB_ENCODING_GZIP</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    この関数は、入力 <parameter>data</parameter>を
@@ -53,7 +53,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>encoding_mode</parameter></term>
+     <term><parameter>encoding</parameter></term>
      <listitem>
       <para>
        エンコーディングモードを指定します。
@@ -125,7 +125,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzeof.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzeof.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzeof.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzeof" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,8 +10,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>gzeof</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <type>bool</type><methodname>gzeof</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
   </methodsynopsis>
   <para>
    与えられた GZ ファイルポインタが <acronym>EOF</acronym> (ファイル終端)
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gzファイルポインタは、有効なファイルポインタであり、かつ、
@@ -62,7 +62,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzfile.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzfile.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzfile.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 337662 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzfile" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,7 +10,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>array</type><methodname>gzfile</methodname>
+   <type class="union"><type>array</type><type>false</type></type><methodname>gzfile</methodname>
    <methodparam><type>string</type><parameter>filename</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
@@ -49,6 +49,7 @@
   &reftitle.returnvalues;
   <para>
    ファイルを含む配列で、要素毎に 1 行ずつ含んでいます。空行も含み、改行もついた状態です。
+   &return.falseforfailure;
   </para>
  </refsect1>
  <refsect1 role="examples">
@@ -79,7 +80,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzgetc.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzgetc.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzgetc.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzgetc" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,8 +10,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzgetc</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzgetc</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
   </methodsynopsis>
   <para>
    与えられた gz ファイルポインタから (非圧縮の) 1 文字を読み込み、これを含む
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。
@@ -72,7 +72,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzgets.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzgets.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzgets.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 333358 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzgets" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,9 +10,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzgets</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzgets</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>1024</initializer></methodparam>
   </methodsynopsis>
   <para>
    与えられたファイルポインタから最大 length - 1 バイトの文字を読み込み、
@@ -26,7 +26,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。
@@ -84,7 +84,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzinflate.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzinflate.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzinflate.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 332332 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzinflate" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,9 +10,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzinflate</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzinflate</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
    この関数は収縮された文字列を伸長します。
@@ -31,7 +31,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>length</parameter></term>
+     <term><parameter>max_length</parameter></term>
      <listitem>
       <para>
        デコードする最大データ長を指定します
@@ -48,7 +48,7 @@
   </para>
   <para>
    この関数は、もし無圧縮なデータが圧縮された入力 <parameter>data</parameter>
-   の 32768 倍、もしくはオプションのパラメータ <parameter>length</parameter>
+   の 32768 倍、もしくはオプションのパラメータ <parameter>max_length</parameter>
    以上の場合、エラーを返します。
   </para>
  </refsect1>
@@ -81,7 +81,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzopen.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzopen.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzopen.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzopen" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,7 +10,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>resource</type><methodname>gzopen</methodname>
+   <type class="union"><type>resource</type><type>false</type></type><methodname>gzopen</methodname>
    <methodparam><type>string</type><parameter>filename</parameter></methodparam>
    <methodparam><type>string</type><parameter>mode</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>use_include_path</parameter><initializer>0</initializer></methodparam>
@@ -100,7 +100,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzpassthru.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzpassthru.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzpassthru.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzpassthru" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -13,7 +13,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>int</type><methodname>gzpassthru</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
   </methodsynopsis>
   <para>
    gz ファイルポインタについて現在位置から <acronym>EOF</acronym> までデータを読み込み、
@@ -41,7 +41,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。これは有効なファイルポインタであり、
@@ -78,7 +78,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzread.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzread.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzread.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: shimooka -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: shimooka,mumumu -->
 <refentry xml:id="function.gzread" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>gzread</refname>
@@ -10,8 +10,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzread</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzread</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
    <methodparam><type>int</type><parameter>length</parameter></methodparam>
   </methodsynopsis>
   <para>
@@ -27,7 +27,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。これは有効なファイルポインタであり、
@@ -50,9 +50,34 @@
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
-   読み込まれたデータ
+   読み込まれたデータ。
+   &return.falseforfailure;
   </para>
  </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>7.4.0</entry>
+      <entry>
+       この関数は、失敗時に &false; を返すようになりました。
+       これより前のバージョンでは、<literal>0</literal> を返していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -86,7 +111,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzrewind.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzrewind.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzrewind.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzrewind" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>bool</type><methodname>gzrewind</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
   </methodsynopsis>
   <para>
    与えられた gz ファイルポインタが指すファイルのファイル位置記述子を、
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。これは有効なファイルポインタであり、
@@ -51,7 +51,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzseek.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzseek.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzseek.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzseek" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,9 +11,9 @@
   &reftitle.description;
   <methodsynopsis>
    <type>int</type><methodname>gzseek</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
    <methodparam><type>int</type><parameter>offset</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer>SEEK_SET</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>whence</parameter><initializer><constant>SEEK_SET</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    与えられたファイルポインタが指すファイルのファイル位置記述子を、
@@ -35,7 +35,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。これは有効なファイルポインタであり、
@@ -106,7 +106,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gztell.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gztell.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gztell.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gztell" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,8 +10,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>gztell</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
+   <type class="union"><type>int</type><type>false</type></type><methodname>gztell</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
   </methodsynopsis>
   <para>
    与えられたファイルポインタが指す位置、つまり、
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。これは有効なファイルポインタであり、
@@ -52,7 +52,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzuncompress.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzuncompress.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzuncompress.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
 <!-- CREDITS: shimooka -->
 <refentry xml:id="function.gzuncompress" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -10,9 +10,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>gzuncompress</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>gzuncompress</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>length</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
    この関数は圧縮された文字列を解凍します。
@@ -31,7 +31,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>length</parameter></term>
+     <term><parameter>max_length</parameter></term>
      <listitem>
       <para>
        デコードするデータの最大長を指定します。
@@ -48,7 +48,7 @@
   </para>
   <para>
    この関数は、もし無圧縮なデータが圧縮された入力 <parameter>data</parameter>
-   の 32768 倍、もしくはオプションのパラメータ <parameter>length</parameter>
+   の 32768 倍、もしくはオプションのパラメータ <parameter>max_length</parameter>
    以上の場合、エラーを返します。
   </para>
  </refsect1>
@@ -81,7 +81,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/gzwrite.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/gzwrite.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/gzwrite.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: hirokawa Status: ready -->
-<!-- CREDITS: shimooka -->
+<!-- EN-Revision: 351613 Maintainer: hirokawa Status: ready -->
+<!-- CREDITS: shimooka,mumumu -->
 <refentry xml:id="function.gzwrite" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>gzwrite</refname>
@@ -10,13 +10,13 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>gzwrite</methodname>
-   <methodparam><type>resource</type><parameter>zp</parameter></methodparam>
-   <methodparam><type>string</type><parameter>string</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>length</parameter></methodparam>
+   <type class="union"><type>int</type><type>false</type></type><methodname>gzwrite</methodname>
+   <methodparam><type>resource</type><parameter>stream</parameter></methodparam>
+   <methodparam><type>string</type><parameter>data</parameter></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>length</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
-   <function>gzwrite</function> は <parameter>string</parameter>
+   <function>gzwrite</function> は <parameter>data</parameter>
    の内容を与えられた gz ファイルに書き込みます。
   </para>
  </refsect1>
@@ -25,7 +25,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>zp</parameter></term>
+     <term><parameter>stream</parameter></term>
      <listitem>
       <para>
        gz ファイルポインタを指定します。これは有効なファイルポインタであり、
@@ -35,7 +35,7 @@
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>string</parameter></term>
+     <term><parameter>data</parameter></term>
      <listitem>
       <para>
        書き込む文字列を指定します。
@@ -49,7 +49,7 @@
        書き込む解凍されたバイト数を指定します。
        もし指定された場合、
        <parameter>length</parameter> バイトのデータが書き込まれたか、
-       <parameter>string</parameter> の終わりに達した時に
+       <parameter>data</parameter> の終わりに達した時に
        書き込みは終了します。
       </para>
       <note>
@@ -56,7 +56,7 @@
        <para>
         引数 <parameter>length</parameter> が指定された場合、
         <link linkend="ini.magic-quotes-runtime">magic_quotes_runtime</link>
-        設定オプションは無視されて <parameter>string</parameter> から
+        設定オプションは無視されて <parameter>data</parameter> から
         スラッシュが取り除かれなくなることに注意してください。
        </para>
       </note>
@@ -65,11 +65,42 @@
    </variablelist>
   </para>
  </refsect1>
+
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>length</parameter> は、nullable になりました。
+       これより前のバージョンでは、デフォルト値は <literal>0</literal> でした。
+      </entry>
+     </row>
+     <row>
+      <entry>7.4.0</entry>
+      <entry>
+       この関数は、失敗時に &false; を返すようになりました。
+       これより前のバージョンでは、<literal>0</literal> を返していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="returnvalues">
   &reftitle.returnvalues;
   <para>
    与えられた gz ファイルストリームに書き込まれた (解凍された)
-   バイト数を返します。
+   バイト数を返します。&return.falseforfailure;
   </para>
  </refsect1>
  <refsect1 role="examples">
@@ -100,7 +131,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/inflate-get-read-len.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/inflate-get-read-len.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/inflate-get-read-len.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: mumumu Status: ready -->

 <refentry xml:id="function.inflate-get-read-len" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -11,8 +11,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>int</type><type>false</type></type><methodname>inflate_get_read_len</methodname>
-   <methodparam><type>resource</type><parameter>resource</parameter></methodparam>
+   <type>int</type><methodname>inflate_get_read_len</methodname>
+   <methodparam><type>InflateContext</type><parameter>context</parameter></methodparam>
   </methodsynopsis>
   <para>

@@ -26,7 +26,7 @@
   &reftitle.parameters;
   <variablelist>
    <varlistentry>
-    <term><parameter>resource</parameter></term>
+    <term><parameter>context</parameter></term>
     <listitem>
      <para>

@@ -44,8 +44,31 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>context</parameter> は、
+       <classname>InflateContext</classname> クラスのインスタンスを期待するようになりました。
+       これより前のバージョンでは、<type>resource</type> を期待していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/inflate-get-status.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/inflate-get-status.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/inflate-get-status.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: mumumu Status: ready -->

 <refentry xml:id="function.inflate-get-status" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -11,8 +11,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>int</type><type>false</type></type><methodname>inflate_get_status</methodname>
-   <methodparam><type>resource</type><parameter>resource</parameter></methodparam>
+   <type>int</type><methodname>inflate_get_status</methodname>
+   <methodparam><type>InflateContext</type><parameter>context</parameter></methodparam>
   </methodsynopsis>
   <para>
    通常 <constant>ZLIB_OK</constant> か <constant>ZLIB_STREAM_END</constant> を返します。
@@ -24,7 +24,7 @@
   &reftitle.parameters;
   <variablelist>
    <varlistentry>
-    <term><parameter>resource</parameter></term>
+    <term><parameter>context</parameter></term>
     <listitem>
      <para>

@@ -42,8 +42,31 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>context</parameter> は、
+       <classname>InflateContext</classname> クラスのインスタンスを期待するようになりました。
+       これより前のバージョンでは、<type>resource</type> を期待していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/inflate_add.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/inflate_add.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/inflate_add.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: mumumu Status: ready -->

 <refentry xml:id="function.inflate-add" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -12,9 +12,9 @@
   &reftitle.description;
   <methodsynopsis>
    <type class="union"><type>string</type><type>false</type></type><methodname>inflate_add</methodname>
-   <methodparam><type>resource</type><parameter>context</parameter></methodparam>
-   <methodparam><type>string</type><parameter>encoded_data</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer>ZLIB_SYNC_FLUSH</initializer></methodparam>
+   <methodparam><type>InflateContext</type><parameter>context</parameter></methodparam>
+   <methodparam><type>string</type><parameter>data</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flush_mode</parameter><initializer><constant>ZLIB_SYNC_FLUSH</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    指定された <parameter>context</parameter> でエンコードされたデータをインクリメンタルに解凍します。
@@ -36,7 +36,7 @@
     </listitem>
    </varlistentry>
    <varlistentry>
-    <term><parameter>encoded_data</parameter></term>
+    <term><parameter>data</parameter></term>
     <listitem>
      <para>
       圧縮されたデータのチャンク
@@ -79,6 +79,31 @@
   </para>
  </refsect1><!-- }}} -->

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>context</parameter> は、
+       <classname>InflateContext</classname>
+       クラスのインスタンスを期待するようになりました。
+       これより前のバージョンでは、<type>resource</type> を期待していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="seealso"><!-- {{{ -->
   &reftitle.seealso;
   <simplelist>
@@ -87,7 +112,6 @@
  </refsect1><!-- }}} -->

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/inflate_init.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/inflate_init.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/inflate_init.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: mumumu Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: mumumu Status: ready -->

 <refentry xml:id="function.inflate-init" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -11,9 +11,9 @@
  <refsect1 role="description"><!-- {{{ -->
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>resource</type><type>false</type></type><methodname>inflate_init</methodname>
+   <type class="union"><type>InflateContext</type><type>false</type></type><methodname>inflate_init</methodname>
    <methodparam><type>int</type><parameter>encoding</parameter></methodparam>
-   <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>array()</initializer></methodparam>
+   <methodparam choice="opt"><type>array</type><parameter>options</parameter><initializer>[]</initializer></methodparam>
   </methodsynopsis>
   <para>
     指定された <parameter>encoding</parameter> でインクリメンタルな解凍コンテキストを初期化します
@@ -107,6 +107,32 @@
   </para>
  </refsect1><!-- }}} -->

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       成功時に、この関数は
+       <classname>InflateContext</classname>
+       クラスのインスタンスを返すようになりました。
+       これより前のバージョンでは、
+       <type>resource</type> を返していました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="seealso"><!-- {{{ -->
   &reftitle.seealso;
   <simplelist>
@@ -116,7 +142,6 @@
  </refsect1><!-- }}} -->

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/zlib-decode.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/zlib-decode.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/zlib-decode.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: takagi Status: ready -->

 <refentry xml:id="function.zlib-decode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -13,7 +13,7 @@
   <methodsynopsis>
    <type class="union"><type>string</type><type>false</type></type><methodname>zlib_decode</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
-   <methodparam choice="opt"><type>string</type><parameter>max_decoded_len</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>max_length</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
    raw/gzip/zlib で符号化されたデータを復元します。
@@ -35,7 +35,7 @@
     </listitem>
    </varlistentry>
    <varlistentry>
-    <term><parameter>max_decoded_len</parameter></term>
+    <term><parameter>max_length</parameter></term>
     <listitem>
      <para>

@@ -60,7 +60,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/zlib-encode.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/zlib-encode.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/zlib-encode.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 343898 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: takagi Status: ready -->

 <refentry xml:id="function.zlib-encode" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
  <refnamediv>
@@ -11,7 +11,7 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>zlib_encode</methodname>
+   <type class="union"><type>string</type><type>false</type></type><methodname>zlib_encode</methodname>
    <methodparam><type>string</type><parameter>data</parameter></methodparam>
    <methodparam><type>int</type><parameter>encoding</parameter></methodparam>
    <methodparam choice="opt"><type>int</type><parameter>level</parameter><initializer>-1</initializer></methodparam>
@@ -96,7 +96,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/functions/zlib-get-coding-type.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/functions/zlib-get-coding-type.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/functions/zlib-get-coding-type.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 297028 Maintainer: shimooka Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: shimooka Status: ready -->
 <refentry xml:id="function.zlib-get-coding-type" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>zlib_get_coding_type</refname>
@@ -9,8 +9,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>string</type><methodname>zlib_get_coding_type</methodname>
-   <void />
+   <type class="union"><type>string</type><type>false</type></type><methodname>zlib_get_coding_type</methodname>
+   <void/>
   </methodsynopsis>
   <para>
    出力圧縮に使用されたコーディングの種類を返します。
@@ -35,7 +35,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/zlib/setup.xml
===================================================================
--- phpdoc/ja/trunk/reference/zlib/setup.xml	2020-11-26 00:26:34 UTC (rev 351659)
+++ phpdoc/ja/trunk/reference/zlib/setup.xml	2020-11-26 00:54:59 UTC (rev 351660)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 345437 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351613 Maintainer: takagi Status: ready -->
 <!-- CREDITS: hirokawa,mumumu -->

 <chapter xml:id="zlib.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -33,6 +33,9 @@
   <para>
    この拡張モジュールでは、ファイルポインタリソースを定義しています。これは
    <function>gzopen</function> が返すものです。
+   PHP 8.0.0 より前のバージョンでは、
+   <literal>zlib.deflate</literal> と <literal>zlib.inflate</literal>
+   リソースも定義されていました。
   </para>
  </section>
  <!-- }}} -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.