1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 07:02:08 +01:00
Files
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

125 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: aa120f36c5762e99f9ee121d8caf910e0a67121e Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka -->
<refentry xml:id="function.gzfile" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>gzfile</refname>
<refpurpose>gzファイル全体を配列に読み込む</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
<methodsynopsis>
<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>bool</type><parameter>use_include_path</parameter><initializer>&false;</initializer></methodparam>
</methodsynopsis>
<para>
ファイルを配列にして返すこと以外は <function>readgzfile</function>
と同じです。
</para>
</refsect1>
<refsect1 role="parameters">
&reftitle.parameters;
<para>
<variablelist>
<varlistentry>
<term><parameter>filename</parameter></term>
<listitem>
<para>
ファイル名を指定します。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>use_include_path</parameter></term>
<listitem>
<simpara>
&true; を設定すると、<link linkend="ini.include-path">include_path</link> にあるファイルも検索します。
</simpara>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
ファイルを含む配列で、要素毎に 1 行ずつ含んでいます。空行も含み、改行もついた状態です。
&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>8.5.0</entry>
<entry>
<parameter>use_include_path</parameter> の型が <type>bool</type> になりました。
これより前は、<type>int</type> でした。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>
<example>
<title><function>gzfile</function> の例</title>
<programlisting role="php">
<![CDATA[
<?php
$lines = gzfile('somefile.gz');
foreach ($lines as $line) {
echo $line;
}
?>
]]>
</programlisting>
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member><function>readgzfile</function></member>
<member><function>gzopen</function></member>
</simplelist>
</para>
</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
-->