1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 07:02:08 +01:00
Files
archived-doc-ja/reference/zlib/functions/inflate_init.xml
KentarouTakeda 9c401d3a96 パラメータ同期・新パラメータ追加・typo修正ほか 24 件 (#355)
## 翻訳内容

### language/predefined/attribute(1件)

- language/predefined/attribute/construct.xml — Attribute::__construct() の $flags に定数タグ追加
  1. php/doc-en@0eb433f

### パラメータ名修正(7件)

- reference/funchand/functions/forward-static-call-array.xml — synopsis/description のパラメータ名一致修正
  1. php/doc-en@c6fb604
- reference/image/functions/imageinterlace.xml — パラメータ名修正 (interlace → enable)
  1. php/doc-en@c6fb604
- reference/calendar/functions/jdmonthname.xml — パラメータ名修正 (jday → julian_day)
  1. php/doc-en@c6fb604
- reference/ps/functions/ps-begin-pattern.xml — パラメータ名修正 (x-step/y-step → xstep/ystep)
  1. php/doc-en@c6fb604
- reference/ps/functions/ps-set-info.xml — パラメータ名修正 (p → psdoc, val → value)
  1. php/doc-en@c6fb604
- reference/ps/functions/ps-open-image.xml — パラメータ名 typo 修正 (lenght → length)
  1. php/doc-en@c6fb604
- reference/oci8/functions/oci-free-descriptor.xml — パラメータ名修正 (descriptor → lob)
  1. php/doc-en@c6fb604

### パラメータ型・名前の同期(9件)

- reference/zlib/functions/gzfile.xml — use_include_path の型を int→bool に変更、changelog 追加
  1. php/doc-en@aa120f3
- reference/zlib/functions/gzopen.xml — use_include_path の型を int→bool に変更、changelog 追加
  1. php/doc-en@aa120f3
- reference/zlib/functions/readgzfile.xml — use_include_path の型を int→bool に変更、changelog 追加
  1. php/doc-en@aa120f3
- reference/pcntl/functions/pcntl-setcpuaffinity.xml — パラメータ名変更 (pid→process_id, hmask→cpu_ids)
  1. php/doc-en@aa120f3
- reference/pcntl/functions/pcntl-getcpuaffinity.xml — パラメータ名変更 (pid→process_id)、戻り値型修正
  1. php/doc-en@aa120f3
- reference/zlib/functions/deflate_init.xml — options パラメータの型に object を追加
  1. php/doc-en@aa120f3
- reference/zlib/functions/inflate_init.xml — options パラメータの型に object を追加
  1. php/doc-en@aa120f3
- reference/ldap/functions/ldap-get-option.xml — ldap パラメータを nullable に変更、changelog 追加
  1. php/doc-en@aa120f3
- reference/openssl/functions/openssl-cms-encrypt.xml — cipher_algo の型に string を追加、changelog 追加
  1. php/doc-en@aa120f3

### reference/soap, openssl(7件)

- reference/soap/soapfault/construct.xml — パラメータ名修正 + lang パラメータ追加
  1. php/doc-en@9a8c593
  2. php/doc-en@d9cfd78
- reference/soap/soapserver/fault.xml — lang パラメータ追加
  1. php/doc-en@9a8c593
- reference/soap/soapclient/dorequest.xml — uriParserClass パラメータ追加
  1. php/doc-en@9a8c593
- reference/openssl/functions/openssl-sign.xml — padding パラメータ追加
  1. php/doc-en@9a8c593
- reference/openssl/functions/openssl-verify.xml — padding パラメータ追加
  1. php/doc-en@9a8c593
- reference/openssl/functions/openssl-private-decrypt.xml — digest_algo パラメータ追加、OEAP→OAEP typo修正
  1. php/doc-en@9a8c593
  2. php/doc-en@8108ac2
- reference/openssl/functions/openssl-public-encrypt.xml — digest_algo パラメータ追加、OEAP→OAEP typo修正
  1. php/doc-en@9a8c593
  2. php/doc-en@8108ac2
2026-03-16 09:55:36 +09:00

177 lines
5.3 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: aa120f36c5762e99f9ee121d8caf910e0a67121e 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>
<refname>inflate_init</refname>
<refpurpose>インクリメンタルな解凍コンテキストを初期化する</refpurpose>
</refnamediv>
<refsect1 role="description"><!-- {{{ -->
&reftitle.description;
<methodsynopsis>
<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 class="union"><type>array</type><type>object</type></type><parameter>options</parameter><initializer>[]</initializer></methodparam>
</methodsynopsis>
<para>
指定された <parameter>encoding</parameter> でインクリメンタルな解凍コンテキストを初期化します
</para>
</refsect1><!-- }}} -->
<refsect1 role="parameters"><!-- {{{ -->
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>encoding</parameter></term>
<listitem>
<para>
定数 <constant>ZLIB_ENCODING_<replaceable>*</replaceable></constant> のうちのひとつ
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>options</parameter></term>
<listitem>
<para>
次の要素を含む連想配列:
<variablelist>
<varlistentry>
<term><varname>level</varname></term>
<listitem>
<para>
-1 .. 9 までの圧縮レベル。デフォルトは -1 です。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>memory</varname></term>
<listitem>
<para>
1 .. 9 までの圧縮メモリレベル。デフォルトは8です。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>window</varname></term>
<listitem>
<para>
8 .. 15 までの zlib の window サイズ(対数)。
デフォルトは 15 です。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>strategy</varname></term>
<listitem>
<para>
<constant>ZLIB_FILTERED</constant>,
<constant>ZLIB_HUFFMAN_ONLY</constant>, <constant>ZLIB_RLE</constant>,
<constant>ZLIB_FIXED</constant>,
<constant>ZLIB_DEFAULT_STRATEGY</constant> (デフォルト) のうちのひとつです。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><varname>dictionary</varname></term>
<listitem>
<para>
あらかじめ設定されたディクショナリの
<type>string</type> または
<type>strings</type><type>array</type>
(デフォルト: 辞書なし)
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1><!-- }}} -->
<refsect1 role="returnvalues"><!-- {{{ -->
&reftitle.returnvalues;
<para>
成功した場合、解凍コンテキストリソース(<literal>zlib.inflate</literal>) を返します。
&return.falseforfailure;
</para>
</refsect1><!-- }}} -->
<refsect1 role="errors"><!-- {{{ -->
&reftitle.errors;
<para>
不正なオプションが <parameter>options</parameter> に渡されたり、
コンテキストが作れなかった場合には、 <constant>E_WARNING</constant> レベルのエラーが発生します。
</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="notes">
&reftitle.notes;
<caution>
<simpara>
<function>gzinflate</function> と異なり、
インクリメンタルな解凍コンテキストは、
解凍済みデータの大きさを強制しません。
よって、Zip爆弾を自動的に防御できません。
</simpara>
</caution>
</refsect1>
<refsect1 role="seealso"><!-- {{{ -->
&reftitle.seealso;
<simplelist>
<member><function>inflate_add</function></member>
<member><function>deflate_init</function></member>
</simplelist>
</refsect1><!-- }}} -->
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->