From bd301444a09da3b58cac68e441bd516cf84b8bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Sun, 31 May 2026 23:43:29 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=9E=E3=83=BC=E3=82=AF=E3=82=A2=E3=83=83?= =?UTF-8?q?=E3=83=97=E3=83=BB=E4=BD=93=E8=A3=81=E3=81=AE=E5=90=8C=E6=9C=9F?= =?UTF-8?q?=EF=BC=88para=E2=86=92simpara=20=E3=81=BB=E3=81=8B,=20123?= =?UTF-8?q?=E3=83=95=E3=82=A1=E3=82=A4=E3=83=AB=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 英語版のマークアップ移行・体裁修正に追随した同期です。 日本語の本文テキストは変更していません(EN-Revision とタグのみ更新)。 ### para → simpara 置換(約116件) — php/doc-en@963af75 ほか - reference/zip/* (68) - reference/image/* (8), reference/dom/* (3), reference/sqlite3/* (2), reference/ldap/* (2), reference/gmp/* (2), reference/datetime/* (2), reference/stream/* (2), reference/intl/* (2) - reference/{com,openssl,posix,ps,uopz,yaf,yaz,win32service,mysql_xdevapi,xml, outcontrol,reflection,info}/* ほか - appendices/migration*, install/*, faq/build, chmonly/integration, language/types/type-system, extensions.ent ### 実行可能サンプル属性 / DocBook 5.2 クラスマークアップ(5件) — php/doc-en@4b06b2d, 50e6f42 - language/generators - language/predefined/{fiber,fibererror,interfaces,unitenum/cases} ### タグ微修正・既存マークアップの revision 同期(2件) — php/doc-en@525aa5f, 184764a - reference/stream/streamwrapper/url-stat(constant→literal) - reference/eio/functions/eio-nready(seealso の自己参照削除) --- appendices/migration74/other-changes.xml | 8 +- appendices/migration81/deprecated.xml | 6 +- appendices/migration81/incompatible.xml | 6 +- appendices/migration83/new-features.xml | 8 +- chmonly/integration.xml | 10 +-- extensions.ent | 40 ++++----- faq/build.xml | 6 +- install/unix/lighttpd-14.xml | 6 +- install/windows/apache2.xml | 6 +- language/generators.xml | 15 +--- language/predefined/fiber.xml | 5 +- language/predefined/fibererror.xml | 5 +- language/predefined/interfaces.xml | 5 +- language/predefined/unitenum/cases.xml | 19 ++-- language/types/type-system.xml | 6 +- reference/com/ini.xml | 6 +- reference/datetime/datetime/settimezone.xml | 6 +- .../datetimeimmutable/settimezone.xml | 6 +- reference/dom/domdocument/getelementbyid.xml | 6 +- reference/dom/domnode/removechild.xml | 6 +- .../dom/functions/dom-import-simplexml.xml | 6 +- reference/eio/functions/eio-nready.xml | 3 +- reference/gmp/functions/gmp-add.xml | 6 +- reference/gmp/functions/gmp-random-bits.xml | 6 +- reference/image/book.xml | 6 +- .../image/functions/imagecolortransparent.xml | 6 +- reference/image/functions/imagecopymerge.xml | 6 +- .../image/functions/imagecopymergegray.xml | 6 +- .../functions/imagepalettetotruecolor.xml | 6 +- reference/image/functions/imageresolution.xml | 6 +- .../info/functions/get-defined-constants.xml | 6 +- .../intl/intlcalendar/getavailablelocales.xml | 6 +- .../intl/intlcalendar/getleastmaximum.xml | 6 +- reference/ldap/functions/ldap-exop-passwd.xml | 6 +- reference/ldap/functions/ldap-mod-add.xml | 6 +- .../columnresult/isnumbersigned.xml | 6 +- .../openssl/functions/openssl-pbkdf2.xml | 6 +- .../outcontrol/user-level-output-buffers.xml | 6 +- reference/phar/ini.xml | 2 +- reference/posix/functions/posix-geteuid.xml | 6 +- reference/ps/functions/ps-hyphenate.xml | 6 +- .../reflectionclass/isiterateable.xml | 6 +- .../reflectionproperty/getdoccomment.xml | 6 +- reference/spl/arrayiterator/next.xml | 6 +- reference/sqlite3/sqlite3stmt/bindparam.xml | 6 +- reference/sqlite3/sqlite3stmt/bindvalue.xml | 6 +- .../stream/functions/stream-socket-server.xml | 6 +- .../functions/stream-wrapper-unregister.xml | 6 +- reference/stream/streamwrapper/url-stat.xml | 8 +- reference/uopz/functions/uopz-get-static.xml | 6 +- .../functions/win32-query-service-status.xml | 6 +- .../xml/functions/xml-parser-set-option.xml | 6 +- reference/yaf/yaf_view_simple/assignref.xml | 6 +- reference/yaf/yaf_view_simple/eval.xml | 6 +- reference/yaz/functions/yaz-es.xml | 6 +- reference/zip/book.xml | 6 +- reference/zip/configure.xml | 22 ++--- reference/zip/constants.xml | 6 +- reference/zip/examples.xml | 6 +- reference/zip/functions/zip-close.xml | 14 +-- reference/zip/functions/zip-entry-close.xml | 14 +-- .../functions/zip-entry-compressedsize.xml | 14 +-- .../functions/zip-entry-compressionmethod.xml | 14 +-- .../zip/functions/zip-entry-filesize.xml | 14 +-- reference/zip/functions/zip-entry-name.xml | 14 +-- reference/zip/functions/zip-entry-open.xml | 30 +++---- reference/zip/functions/zip-entry-read.xml | 22 ++--- reference/zip/functions/zip-open.xml | 14 +-- reference/zip/functions/zip-read.xml | 14 +-- reference/zip/setup.xml | 14 +-- reference/zip/ziparchive.xml | 24 +++--- reference/zip/ziparchive/addemptydir.xml | 18 ++-- reference/zip/ziparchive/addfile.xml | 38 ++++---- reference/zip/ziparchive/addfromstring.xml | 22 ++--- reference/zip/ziparchive/addglob.xml | 86 +++++++++---------- reference/zip/ziparchive/addpattern.xml | 26 +++--- reference/zip/ziparchive/clearerror.xml | 10 +-- reference/zip/ziparchive/close.xml | 14 +-- reference/zip/ziparchive/count.xml | 6 +- reference/zip/ziparchive/deleteindex.xml | 14 +-- reference/zip/ziparchive/deletename.xml | 14 +-- reference/zip/ziparchive/extractto.xml | 26 +++--- .../zip/ziparchive/getarchivecomment.xml | 14 +-- reference/zip/ziparchive/getarchiveflag.xml | 30 +++---- reference/zip/ziparchive/getcommentindex.xml | 18 ++-- reference/zip/ziparchive/getcommentname.xml | 18 ++-- .../ziparchive/getexternalattributesindex.xml | 30 +++---- .../ziparchive/getexternalattributesname.xml | 26 +++--- reference/zip/ziparchive/getfromindex.xml | 26 +++--- reference/zip/ziparchive/getfromname.xml | 30 +++---- reference/zip/ziparchive/getnameindex.xml | 18 ++-- reference/zip/ziparchive/getstatusstring.xml | 10 +-- reference/zip/ziparchive/getstream.xml | 14 +-- reference/zip/ziparchive/getstreamindex.xml | 18 ++-- reference/zip/ziparchive/getstreamname.xml | 18 ++-- .../iscompressionmethoddupported.xml | 22 ++--- .../isencryptionmethoddupported.xml | 22 ++--- reference/zip/ziparchive/locatename.xml | 22 ++--- reference/zip/ziparchive/open.xml | 34 ++++---- .../zip/ziparchive/registercancelcallback.xml | 22 ++--- .../ziparchive/registerprogresscallback.xml | 26 +++--- reference/zip/ziparchive/renameindex.xml | 18 ++-- reference/zip/ziparchive/renamename.xml | 18 ++-- reference/zip/ziparchive/replacefile.xml | 34 ++++---- .../zip/ziparchive/setarchivecomment.xml | 14 +-- reference/zip/ziparchive/setarchiveflag.xml | 22 ++--- reference/zip/ziparchive/setcommentindex.xml | 18 ++-- reference/zip/ziparchive/setcommentname.xml | 18 ++-- .../zip/ziparchive/setcompressionindex.xml | 22 ++--- .../zip/ziparchive/setcompressionname.xml | 22 ++--- .../zip/ziparchive/setencryptionindex.xml | 26 +++--- .../zip/ziparchive/setencryptionname.xml | 30 +++---- .../ziparchive/setexternalattributesindex.xml | 26 +++--- .../ziparchive/setexternalattributesname.xml | 30 +++---- reference/zip/ziparchive/setmtimeindex.xml | 30 +++---- reference/zip/ziparchive/setmtimename.xml | 30 +++---- reference/zip/ziparchive/setpassword.xml | 18 ++-- reference/zip/ziparchive/statindex.xml | 18 ++-- reference/zip/ziparchive/statname.xml | 26 +++--- reference/zip/ziparchive/unchangeall.xml | 10 +-- reference/zip/ziparchive/unchangearchive.xml | 10 +-- reference/zip/ziparchive/unchangeindex.xml | 14 +-- reference/zip/ziparchive/unchangename.xml | 14 +-- 123 files changed, 890 insertions(+), 898 deletions(-) diff --git a/appendices/migration74/other-changes.xml b/appendices/migration74/other-changes.xml index 8efc55cc73..9ba1773eac 100644 --- a/appendices/migration74/other-changes.xml +++ b/appendices/migration74/other-changes.xml @@ -1,6 +1,6 @@ - + その他の変更 @@ -35,11 +35,11 @@ 例外から生成されたスタックトレースに引数を含めたり、除外したりするための新しい INIディレクティブです。 - + opcache.preload_user は、指定されなければ root として実行されてしまう場合(これはセキュリティ上の理由で禁止されています) に、事前ロードされたコードを実行するユーザーアカウントを指定するための新しいINIディレクティブです。 - + @@ -211,7 +211,7 @@ - Litespeed: + LiteSpeed: diff --git a/appendices/migration81/deprecated.xml b/appendices/migration81/deprecated.xml index 265c301737..ca76d291ad 100644 --- a/appendices/migration81/deprecated.xml +++ b/appendices/migration81/deprecated.xml @@ -1,6 +1,6 @@ - + PHP 8.1.x で推奨されなくなる機能 @@ -248,7 +248,7 @@ $arr[] = 2; Hash - + mhash, mhash_keygen_s2k, mhash_count, @@ -256,7 +256,7 @@ $arr[] = 2; mhash_get_hash_name は、推奨されなくなりました。 hash_*() 関数を代わりに使って下さい。 - + diff --git a/appendices/migration81/incompatible.xml b/appendices/migration81/incompatible.xml index c7b02d3b02..2c6338022f 100644 --- a/appendices/migration81/incompatible.xml +++ b/appendices/migration81/incompatible.xml @@ -1,6 +1,6 @@ - + 下位互換性のない変更点 @@ -327,14 +327,14 @@ ArgumentCountError - makeyogurt(): Argument #1 ($container) not passed EC キーの秘密鍵は、他のキーと同じように PKCS#8 フォーマットでエクスポートされるようになりました。 - + openssl_pkcs7_encryptopenssl_cms_encrypt は、 デフォルト値が RC2-40 から AES-128-CBC に変更されました。 RC2-40 暗号はセキュアではないと見なされており、 OpenSSL 3 からはデフォルトで有効ではなくなっています。 - + diff --git a/appendices/migration83/new-features.xml b/appendices/migration83/new-features.xml index fc7fda63d6..933df4122f 100644 --- a/appendices/migration83/new-features.xml +++ b/appendices/migration83/new-features.xml @@ -1,6 +1,6 @@ - + 新機能 @@ -66,10 +66,10 @@ static 変数の初期化 - + static 変数を初期化する際に、任意の式が使えるようになりました。 - - + + diff --git a/chmonly/integration.xml b/chmonly/integration.xml index de1a719eba..3fa21aa40e 100644 --- a/chmonly/integration.xml +++ b/chmonly/integration.xml @@ -1,6 +1,6 @@ - + Integrating the PHP Manual @@ -36,17 +36,17 @@ the help content is stored in HTML files, you can show pages of the CHM in Internet Explorer. - + Assume that you placed your php_manual_en.chm to c:\phpmanual the index file in the manual (which you see the first time) can be accessed with the following URL: mk:@MSITStore:C:\phpmanual\php_manual_en.chm::/_index.html. Here mk:@MSITStore: is the special "protocol", - C:\phpmanual\php_manual_en.chm is the CHM with it's + C:\phpmanual\php_manual_en.chm is the CHM with its full path. The /_index.html part is the path to the index file inside the CHM and :: is just what you need to put between the CHM path and this file path. - + @@ -86,7 +86,7 @@ (function.mysql-close.html) automatically. You can provide the full path of this file if your IDE supports context sensitive help, and provide the IDE specified string as the parameter. An example - for this is the UltraEdit 9 intergation (see the edition's website). + for this is the UltraEdit 9 integration (see the edition's website). The index of the manual (accessible via the index tab on the navigation diff --git a/extensions.ent b/extensions.ent index febb34939b..e2322d0e87 100644 --- a/extensions.ent +++ b/extensions.ent @@ -1,15 +1,15 @@ - + -拡張モジュールの一覧/分類 +拡張モジュールの一覧/分類 この付録では、PHP マニュアルに掲載されている 150 以上の -拡張モジュールを分類します。'> +拡張モジュールを分類します。'> アルファベット順'> @@ -33,13 +33,13 @@ Web サービス'> クレジットカード処理'> - + 数学と暗号化'> 数学的な拡張'> 暗号化拡張'> 自然言語と文字エンコーディングのサポート'> - + ファイルシステムとプロセス制御'> ファイルシステムに関連する拡張'> プロセス処理拡張'> @@ -60,38 +60,38 @@ コマンドラインの拡張'> Windows 限定の拡張'> サーバー固有の拡張'> - + 所属'> -コア拡張 +コア拡張 これらは実際のところ拡張ではありません。 PHP のコアに組み込まれており、 -コンパイルオプションで無効にすることはできません。'> +コンパイルオプションで無効にすることはできません。'> -バンドルされている拡張 -これらの拡張は PHP にバンドルされています。'> +バンドルされている拡張 +これらの拡張は PHP にバンドルされています。'> -外部拡張 -これらの拡張は PHP にバンドルされていますが、コンパイルするには外部ライブラリが必要となります。'> +外部拡張 +これらの拡張は PHP にバンドルされていますが、コンパイルするには外部ライブラリが必要となります。'> -PECL 拡張 +PECL 拡張 これらの拡張は &link.pecl; にあります。 -また、外部のライブラリを必要とするかもしれません。PECL には、この他にもまだ PHP マニュアルで文書化されていない拡張があります。'> +また、外部のライブラリを必要とするかもしれません。PECL には、この他にもまだ PHP マニュアルで文書化されていない拡張があります。'> -状態 +状態 このパートでは、実用向けではない拡張を挙げます。- これらは "古すぎる"(廃止予定 / deprecated)あるいは -"新しすぎる"(実験的 / experimental)のどちらかです。'> +"新しすぎる"(実験的 / experimental)のどちらかです。'> -廃止予定の拡張 -これらの拡張は非推奨です。通常は同じ機能を持つ別の拡張が存在します。'> +廃止予定の拡張 +これらの拡張は非推奨です。通常は同じ機能を持つ別の拡張が存在します。'> -実験的な拡張 +実験的な拡張 これらの拡張の振る舞いは、PHP の将来のリリースで (その関数名や文書化されているあらゆる内容を含めて) -予告なく変更される可能性があります。自己責任のもとで利用してください。'> +予告なく変更される可能性があります。自己責任のもとで利用してください。'> diff --git a/faq/build.xml b/faq/build.xml index cdb8ac3dbc..3cf7617198 100644 --- a/faq/build.xml +++ b/faq/build.xml @@ -1,6 +1,6 @@ - + 構築時の問題 @@ -164,14 +164,14 @@ - + 古いバージョンのmakeには、functionsディレクトリにあるファイルの コンパイルされたものを同じディレクトリに正しく入れないものがあり ます。cp *.o functionsを試しに実行してから make を再度実行し、解決されるか確認して下さ い。解決される場合には、GNU makeの最近のバージョンに更新するべき です。 - + diff --git a/install/unix/lighttpd-14.xml b/install/unix/lighttpd-14.xml index 8efd50a5d5..cbb047cb71 100644 --- a/install/unix/lighttpd-14.xml +++ b/install/unix/lighttpd-14.xml @@ -1,6 +1,6 @@ - + Lighttpd 1.4 (Unix システム用) @@ -54,7 +54,7 @@ fastcgi.server = ( ".php" => - + bin-path ディレクティブにより、lighttpd が FastCGI プロセスを動的に起動できるようになります。 PHP は、環境変数 PHP_FCGI_CHILDREN の内容に応じて子プロセスを起動します。 @@ -67,7 +67,7 @@ fastcgi.server = ( ".php" => min-procs1 より大きい値に設定すると、 PHP レスポンダの数が PHP_FCGI_CHILDREN にその値をかけたものとなります (2 min-procs * 16 子プロセスで 32 のレスポンダとなります)。 - + diff --git a/install/windows/apache2.xml b/install/windows/apache2.xml index 5658bec497..d05bbd2d1a 100644 --- a/install/windows/apache2.xml +++ b/install/windows/apache2.xml @@ -1,6 +1,6 @@ - + Apache 2.x (Microsoft Windows 用) @@ -16,13 +16,13 @@ - + Apache ドキュメンテーション を参照し、Apache 2.x サーバーの基本を理解しておくことを強く推奨します。 また、以下の解説を読む前に、Apache 2.x に関する Windows 固有の情報 についても参照するとよいでしょう。 - + 最新の Apache 2.x と、 diff --git a/language/generators.xml b/language/generators.xml index 16bcdcc105..8956934cbf 100644 --- a/language/generators.xml +++ b/language/generators.xml @@ -1,9 +1,9 @@ - + - + ジェネレータ @@ -85,7 +85,6 @@ echo 'Single digit odd numbers from xrange(): '; foreach (xrange(1, 9, 2) as $number) { echo "$number "; } -?> ]]> &example.outputs; @@ -166,7 +165,6 @@ $generator = gen_one_to_three(); foreach ($generator as $value) { echo "$value\n"; } -?> ]]> &example.outputs; @@ -229,7 +227,6 @@ foreach (input_parser($input) as $id => $fields) { echo " $fields[0]\n"; echo " $fields[1]\n"; } -?> ]]> &example.outputs; @@ -268,7 +265,6 @@ function gen_three_nulls() { } var_dump(iterator_to_array(gen_three_nulls())); -?> ]]> &example.outputs; @@ -317,7 +313,6 @@ function &gen_reference() { foreach (gen_reference() as &$number) { echo (--$number).'... '; } -?> ]]> &example.outputs; @@ -382,7 +377,6 @@ function gen() { } // 二番目のパラメータに false を指定すると、結果は array [0, 1, 2, 3, 4] となります var_dump(iterator_to_array(gen())); -?> ]]> &example.outputs; @@ -428,7 +422,6 @@ function eight() { foreach (count_to_ten() as $num) { echo "$num "; } -?> ]]> &example.outputs; @@ -472,7 +465,6 @@ foreach ($gen as $num) { echo "$num "; } echo $gen->getReturn(); -?> ]]> &example.outputs; @@ -497,7 +489,7 @@ echo $gen->getReturn(); - + fileHandle); } } -?> ]]> diff --git a/language/predefined/fiber.xml b/language/predefined/fiber.xml index de664e5528..1f97033c10 100644 --- a/language/predefined/fiber.xml +++ b/language/predefined/fiber.xml @@ -1,7 +1,8 @@ - - + + Fiber クラス Fiber diff --git a/language/predefined/fibererror.xml b/language/predefined/fibererror.xml index 7cfb860d72..1127faa43d 100644 --- a/language/predefined/fibererror.xml +++ b/language/predefined/fibererror.xml @@ -1,7 +1,8 @@ - - + + FiberError FiberError diff --git a/language/predefined/interfaces.xml b/language/predefined/interfaces.xml index 9e19c19786..cea9637efa 100644 --- a/language/predefined/interfaces.xml +++ b/language/predefined/interfaces.xml @@ -1,8 +1,9 @@ - + - + 定義済みのインターフェイスとクラス diff --git a/language/predefined/unitenum/cases.xml b/language/predefined/unitenum/cases.xml index 2e307ea685..a94052fd79 100644 --- a/language/predefined/unitenum/cases.xml +++ b/language/predefined/unitenum/cases.xml @@ -1,6 +1,6 @@ - + UnitEnum::cases @@ -52,21 +52,20 @@ enum Suit } var_dump(Suit::cases()); -?> ]]> &example.outputs; - enum(Suit::Hearts) - [1]=> - enum(Suit::Diamonds) - [2]=> - enum(Suit::Clubs) - [3]=> - enum(Suit::Spades) + [0]=> + enum(Suit::Hearts) + [1]=> + enum(Suit::Diamonds) + [2]=> + enum(Suit::Clubs) + [3]=> + enum(Suit::Spades) } ]]> diff --git a/language/types/type-system.xml b/language/types/type-system.xml index b7083bc408..4858a05c8a 100644 --- a/language/types/type-system.xml +++ b/language/types/type-system.xml @@ -1,6 +1,6 @@ - + 型システム @@ -174,7 +174,7 @@ union 型 - + union 型は、ひとつではなく、 複数の異なる型を値として受け入れることができます。 union 型を構成する個別の型は、| 記号で結合します。 @@ -183,7 +183,7 @@ 型のひとつが交差型の場合、DNF で記すために 括弧で囲む必要があります。 つまり、T|(X&Y) と書く必要があります。 - + diff --git a/reference/com/ini.xml b/reference/com/ini.xml index f049ebf6cb..f1b335c8a3 100644 --- a/reference/com/ini.xml +++ b/reference/com/ini.xml @@ -1,6 +1,6 @@ - +
&reftitle.runtime; @@ -119,13 +119,13 @@ com.autoregister_casesensitive - + これを on にすると (デフォルト)、 COMオブジェクトをインスタンス化中に自動読み込みされた タイプライブラリ中に見つかった定数が、大文字小文字を区別して 登録されます。詳細は com_load_typelib を参照ください。 - + diff --git a/reference/datetime/datetime/settimezone.xml b/reference/datetime/datetime/settimezone.xml index d2fbd2fc50..3605700ae7 100644 --- a/reference/datetime/datetime/settimezone.xml +++ b/reference/datetime/datetime/settimezone.xml @@ -1,6 +1,6 @@ - + @@ -55,11 +55,11 @@ &reftitle.returnvalues; - + メソッドをチェインできるようにするため、 DateTime オブジェクトを返します。 このメソッドをコールした際に指していた時刻は変わりません。 - + diff --git a/reference/datetime/datetimeimmutable/settimezone.xml b/reference/datetime/datetimeimmutable/settimezone.xml index e01c01593d..25accce334 100644 --- a/reference/datetime/datetimeimmutable/settimezone.xml +++ b/reference/datetime/datetimeimmutable/settimezone.xml @@ -1,6 +1,6 @@ - + @@ -38,12 +38,12 @@ &reftitle.returnvalues; - + メソッドをチェインできるようにするため、 変更された新しい DateTimeImmutable オブジェクトを返します。 このメソッドをコールした際に指していた時刻は変わりません。 - + diff --git a/reference/dom/domdocument/getelementbyid.xml b/reference/dom/domdocument/getelementbyid.xml index e37a7f3f0b..aad9fa8cd2 100644 --- a/reference/dom/domdocument/getelementbyid.xml +++ b/reference/dom/domdocument/getelementbyid.xml @@ -1,6 +1,6 @@ - + @@ -18,7 +18,7 @@ と同じですが、指定した ID から要素を検索する点が違います。 - + この関数を動作させるには、何らかの ID 属性を で設定するか、あるいは DTD で ID 型の属性を定義する必要があります。 @@ -26,7 +26,7 @@ あるいは DOMDocument::$validateOnParse を使用してドキュメントを検証する必要があります。 - + &reftitle.parameters; diff --git a/reference/dom/domnode/removechild.xml b/reference/dom/domnode/removechild.xml index 6413bedd57..5a13a0996c 100644 --- a/reference/dom/domnode/removechild.xml +++ b/reference/dom/domnode/removechild.xml @@ -1,6 +1,6 @@ - + DOMNode::removeChild @@ -14,9 +14,9 @@ public DOMNodefalseDOMNode::removeChild DOMNodechild - + この関数は、子要素群から子要素を削除します。 - + &reftitle.parameters; diff --git a/reference/dom/functions/dom-import-simplexml.xml b/reference/dom/functions/dom-import-simplexml.xml index f7119368ad..27566e8867 100644 --- a/reference/dom/functions/dom-import-simplexml.xml +++ b/reference/dom/functions/dom-import-simplexml.xml @@ -1,6 +1,6 @@ - + dom_import_simplexml @@ -14,7 +14,7 @@ DOMAttrDOMElementdom_import_simplexml objectnode - + この関数は、指定された node (SimpleXMLElement のインスタンス) を受けとり、 @@ -23,7 +23,7 @@ 新しい DOMNode は、 既にある同じXMLノードを SimpleXMLElement として参照しています。 - + &reftitle.parameters; diff --git a/reference/eio/functions/eio-nready.xml b/reference/eio/functions/eio-nready.xml index 75729f63f7..2ebc8d923f 100644 --- a/reference/eio/functions/eio-nready.xml +++ b/reference/eio/functions/eio-nready.xml @@ -1,6 +1,6 @@ - + @@ -37,7 +37,6 @@ &reftitle.seealso; eio_nreqs - eio_nready eio_nthreads diff --git a/reference/gmp/functions/gmp-add.xml b/reference/gmp/functions/gmp-add.xml index dcdc7252ec..dc508ec5f3 100644 --- a/reference/gmp/functions/gmp-add.xml +++ b/reference/gmp/functions/gmp-add.xml @@ -1,6 +1,6 @@ - + gmp_add @@ -26,9 +26,9 @@ num1 - + 足される数。 - + &gmp.parameter; diff --git a/reference/gmp/functions/gmp-random-bits.xml b/reference/gmp/functions/gmp-random-bits.xml index bb4729b2ed..edf2188ea0 100644 --- a/reference/gmp/functions/gmp-random-bits.xml +++ b/reference/gmp/functions/gmp-random-bits.xml @@ -1,6 +1,6 @@ - + gmp_random_bits @@ -17,9 +17,9 @@ 乱数を生成します。値は 02$bits - 1 の間になります。 - + bits は0より大きくなければならず、最大値は利用できるメモリの量次第です。 - + &caution.cryptographically-insecure; diff --git a/reference/image/book.xml b/reference/image/book.xml index 46e6d23022..589b889fdd 100644 --- a/reference/image/book.xml +++ b/reference/image/book.xml @@ -1,6 +1,6 @@ - + @@ -63,10 +63,10 @@ - + GD はさまざまなフォーマットに対応しています。 GD がサポートするフォーマットの一覧と、読み書きの対応状況を含めた注意をまとめました。 - + GD がサポートするフォーマット diff --git a/reference/image/functions/imagecolortransparent.xml b/reference/image/functions/imagecolortransparent.xml index 12243e61e7..2f51a9bc15 100644 --- a/reference/image/functions/imagecolortransparent.xml +++ b/reference/image/functions/imagecolortransparent.xml @@ -1,6 +1,6 @@ - + @@ -104,11 +104,11 @@ imagepng($im, './imagecolortransparent.png'); &reftitle.notes; - + 透過性は imagecopymerge かつ True カラーの場合のみコピーされます。imagecopy もしくはパレットイメージの場合はコピーされません。 - + diff --git a/reference/image/functions/imagecopymerge.xml b/reference/image/functions/imagecopymerge.xml index 237bbb5360..5b0ee634fc 100644 --- a/reference/image/functions/imagecopymerge.xml +++ b/reference/image/functions/imagecopymerge.xml @@ -1,6 +1,6 @@ - + @@ -94,7 +94,7 @@ pct - + 二つの画像は、 0から100の範囲で指定した pctに基づきマージされます。 pct = 0 の時は、何も行われません。 @@ -102,7 +102,7 @@ imagecopy と同じとなります (アルファコンポーネントを無視する点だけが違います)。 一方 true color 画像については、この関数はアルファ透過度を実装しています。 - + diff --git a/reference/image/functions/imagecopymergegray.xml b/reference/image/functions/imagecopymergegray.xml index 492e0dcf20..3652590cec 100644 --- a/reference/image/functions/imagecopymergegray.xml +++ b/reference/image/functions/imagecopymergegray.xml @@ -1,6 +1,6 @@ - + @@ -101,7 +101,7 @@ pct - + src_imagepct にしたがってグレースケールに変換されます。 pct が 0 の場合は完全なグレースケール、 @@ -110,7 +110,7 @@ imagecopy と同じ動作となります (アルファコンポーネントを無視する点だけが違います)。 一方 true color 画像については、この関数はアルファ透過度を実装しています。 - + diff --git a/reference/image/functions/imagepalettetotruecolor.xml b/reference/image/functions/imagepalettetotruecolor.xml index 0b19547d10..cb0a3d2642 100644 --- a/reference/image/functions/imagepalettetotruecolor.xml +++ b/reference/image/functions/imagepalettetotruecolor.xml @@ -1,6 +1,6 @@ - + @@ -30,10 +30,10 @@ &reftitle.returnvalues; - + 変換に成功した場合や、元画像が既に true color だった場合に &true; を返します。 それ以外の場合に &false; を返します。 - + diff --git a/reference/image/functions/imageresolution.xml b/reference/image/functions/imageresolution.xml index 46c3b8c9c1..4111fbc071 100644 --- a/reference/image/functions/imageresolution.xml +++ b/reference/image/functions/imageresolution.xml @@ -1,6 +1,6 @@ - + @@ -26,11 +26,11 @@ オプションのパラメータが両方指定されると、 垂直/水平方向の解像度がそれぞれ指定された値に設定されます。 - + この手の情報をサポートしている画像フォーマットを読み書きする場合(現状、PNG と JPEG)に、 解像度情報はメタ情報としてのみ使われます。画像を描画する操作には一切影響しません。 新しい画像の解像度は 96DPI です。 - + diff --git a/reference/info/functions/get-defined-constants.xml b/reference/info/functions/get-defined-constants.xml index 498c8e8766..2cc5a50f35 100644 --- a/reference/info/functions/get-defined-constants.xml +++ b/reference/info/functions/get-defined-constants.xml @@ -1,6 +1,6 @@ - + @@ -92,10 +92,10 @@ Array &reftitle.returnvalues; - + 定数名 => 定数値 の配列の配列を返します。 オプションで、その定数を定義している拡張モジュール名ごとにグループ化することもできます。 - + diff --git a/reference/intl/intlcalendar/getavailablelocales.xml b/reference/intl/intlcalendar/getavailablelocales.xml index cf8abd703f..28f9984f28 100644 --- a/reference/intl/intlcalendar/getavailablelocales.xml +++ b/reference/intl/intlcalendar/getavailablelocales.xml @@ -1,6 +1,6 @@ - + IntlCalendar::getAvailableLocales @@ -37,10 +37,10 @@ &reftitle.returnvalues; - + 文字列の配列を返します。 ひとつひとつが、ロケールを示します。 - + diff --git a/reference/intl/intlcalendar/getleastmaximum.xml b/reference/intl/intlcalendar/getleastmaximum.xml index e06c0b2a83..5053fc6441 100644 --- a/reference/intl/intlcalendar/getleastmaximum.xml +++ b/reference/intl/intlcalendar/getleastmaximum.xml @@ -1,6 +1,6 @@ - + IntlCalendar::getLeastMaximum @@ -24,14 +24,14 @@ IntlCalendarcalendar intfield - + 指定されたフィールドの、ローカルな最大値のうち、最小の値を返します。 これは、 IntlCalendar::getActualMaxmimum が返す値に等しいか、より小さい値、もしくは、 IntlCalendar::getMaximum が返す値に等しいか、より小さい値になるはずです。 - + diff --git a/reference/ldap/functions/ldap-exop-passwd.xml b/reference/ldap/functions/ldap-exop-passwd.xml index 448fac6a6d..cced903660 100644 --- a/reference/ldap/functions/ldap-exop-passwd.xml +++ b/reference/ldap/functions/ldap-exop-passwd.xml @@ -1,6 +1,6 @@ - + ldap_exop_passwd @@ -44,10 +44,10 @@ old_password - + このユーザーの古いパスワード。 サーバーの設定によっては省略可能です。 - + diff --git a/reference/ldap/functions/ldap-mod-add.xml b/reference/ldap/functions/ldap-mod-add.xml index 62435f08e0..e9cfed40cd 100644 --- a/reference/ldap/functions/ldap-mod-add.xml +++ b/reference/ldap/functions/ldap-mod-add.xml @@ -1,6 +1,6 @@ - + @@ -47,11 +47,11 @@ entry - + 追加する属性値を一覧にした連想配列。 属性が存在しない場合は追加されます。 属性が存在する場合は、その属性が複数の値をサポートしている場合のみ追加できます。 - + diff --git a/reference/mysql_xdevapi/mysql_xdevapi/columnresult/isnumbersigned.xml b/reference/mysql_xdevapi/mysql_xdevapi/columnresult/isnumbersigned.xml index e890f48555..cd2ec4bbf1 100644 --- a/reference/mysql_xdevapi/mysql_xdevapi/columnresult/isnumbersigned.xml +++ b/reference/mysql_xdevapi/mysql_xdevapi/columnresult/isnumbersigned.xml @@ -1,6 +1,6 @@ - + @@ -29,9 +29,9 @@ &reftitle.returnvalues; - + 与えられたカラムが符号付きの場合、&true; を返します。 - + diff --git a/reference/openssl/functions/openssl-pbkdf2.xml b/reference/openssl/functions/openssl-pbkdf2.xml index 3668a33a4a..54056b2cdf 100644 --- a/reference/openssl/functions/openssl-pbkdf2.xml +++ b/reference/openssl/functions/openssl-pbkdf2.xml @@ -1,6 +1,6 @@ - + @@ -39,9 +39,9 @@ salt - + PBKDF2 は、暗号化のソルトとして、少なくとも128ビット(16バイト)を推奨しています。 - + diff --git a/reference/outcontrol/user-level-output-buffers.xml b/reference/outcontrol/user-level-output-buffers.xml index 235d2159c4..8e05c3855a 100644 --- a/reference/outcontrol/user-level-output-buffers.xml +++ b/reference/outcontrol/user-level-output-buffers.xml @@ -1,6 +1,6 @@ - + ユーザーレベルの出力バッファ @@ -176,7 +176,7 @@
バッファに対して可能な操作 - + バッファに対して可能な操作は、 出力バッファの制御フラグ のいずれかを ob_start の3番めの @@ -185,7 +185,7 @@ 0 を指定すると、 バッファのフラッシュ、クリーン、削除はできませんが、 その内容を取得することはできます。 - + PHP_OUTPUT_HANDLER_CLEANABLE を指定すると、 ob_clean によってバッファの内容を削除できるようになります。 diff --git a/reference/phar/ini.xml b/reference/phar/ini.xml index 89b483fe50..b5c26ee498 100644 --- a/reference/phar/ini.xml +++ b/reference/phar/ini.xml @@ -1,6 +1,6 @@ - +
&reftitle.runtime; diff --git a/reference/posix/functions/posix-geteuid.xml b/reference/posix/functions/posix-geteuid.xml index 2faec7e8ce..06870acc86 100644 --- a/reference/posix/functions/posix-geteuid.xml +++ b/reference/posix/functions/posix-geteuid.xml @@ -1,6 +1,6 @@ - + @@ -14,11 +14,11 @@ intposix_geteuid - + 現在のプロセスの有効なユーザー ID を返します。 使用可能なユーザー名に変換する方法に関する情報については、 posix_getpwuid も参照ください。 - + diff --git a/reference/ps/functions/ps-hyphenate.xml b/reference/ps/functions/ps-hyphenate.xml index 521854be63..d62446d3fa 100644 --- a/reference/ps/functions/ps-hyphenate.xml +++ b/reference/ps/functions/ps-hyphenate.xml @@ -1,6 +1,6 @@ - + ps_hyphenate @@ -44,13 +44,13 @@ text - + text にはアルファベット以外の文字を 含むべきではありません。ハイフンで分割できる位置が、 整数値の配列として返されます。配列の個々の要素の内容は、 text 内でハイフンを入れられる場所の 次の文字の位置を表します。 - + diff --git a/reference/reflection/reflectionclass/isiterateable.xml b/reference/reflection/reflectionclass/isiterateable.xml index 46bf1d1997..62113b183e 100644 --- a/reference/reflection/reflectionclass/isiterateable.xml +++ b/reference/reflection/reflectionclass/isiterateable.xml @@ -1,6 +1,6 @@ - + @@ -12,10 +12,10 @@ &reftitle.description; ReflectionClass::isIterable &Alias; - + PHP 7.2.0 以降は、スペルミスがある RefectionClass::isIterateable の代わりに、 ReflectionClass::isIterable を使うのが好ましいです。 - + diff --git a/reference/reflection/reflectionproperty/getdoccomment.xml b/reference/reflection/reflectionproperty/getdoccomment.xml index 5928bd4355..20b1a8b78b 100644 --- a/reference/reflection/reflectionproperty/getdoccomment.xml +++ b/reference/reflection/reflectionproperty/getdoccomment.xml @@ -1,6 +1,6 @@ - + @@ -70,11 +70,11 @@ string(53) "/** 複数のプロパティを宣言している場合 - + 複数のプロパティの宣言が、 単一のドキュメントコメントの後に行われている場合、 ドキュメントコメントは最初のプロパティのみを参照します。 - + - + @@ -14,9 +14,9 @@ public voidArrayIterator::next - + この関数は次のエントリにイテレータを移動します。 - + diff --git a/reference/sqlite3/sqlite3stmt/bindparam.xml b/reference/sqlite3/sqlite3stmt/bindparam.xml index a5804beace..d4883b01b4 100644 --- a/reference/sqlite3/sqlite3stmt/bindparam.xml +++ b/reference/sqlite3/sqlite3stmt/bindparam.xml @@ -1,6 +1,6 @@ - + @@ -42,7 +42,7 @@ param - + バインドされるべき文中の値を識別する string (名前付きパラメータの場合) または (位置パラメータの場合) int。 @@ -50,7 +50,7 @@ アットマーク (@) ではじまっていない場合、コロンが自動的に名前の前に付加されます。 位置パラメータは 1 から始まります。 - + diff --git a/reference/sqlite3/sqlite3stmt/bindvalue.xml b/reference/sqlite3/sqlite3stmt/bindvalue.xml index 308e6c409e..19be99ba70 100644 --- a/reference/sqlite3/sqlite3stmt/bindvalue.xml +++ b/reference/sqlite3/sqlite3stmt/bindvalue.xml @@ -1,6 +1,6 @@ - + @@ -37,7 +37,7 @@ param - + バインドされるべき文中の値を識別する string (名前付きパラメータの場合) または (位置パラメータの場合) int。 @@ -45,7 +45,7 @@ アットマーク (@) ではじまっていない場合、コロンが自動的に名前の前に付加されます。 位置パラメータは 1 から始まります。 - + diff --git a/reference/stream/functions/stream-socket-server.xml b/reference/stream/functions/stream-socket-server.xml index 5acdb12f2c..cfe4021cf3 100644 --- a/reference/stream/functions/stream-socket-server.xml +++ b/reference/stream/functions/stream-socket-server.xml @@ -1,6 +1,6 @@ - + stream_socket_server @@ -47,13 +47,13 @@ の部分は、ファイルシステムにおけるソケットのファイルを指定しなくては いけません。 - + システムの種類によって、Unix ドメインのソケットが利用できない場合があります。 利用できるトランスポートの種類は、stream_get_transports によって知ることができます。 組み込みのトランスポートのリストは、 を参照ください。 - + diff --git a/reference/stream/functions/stream-wrapper-unregister.xml b/reference/stream/functions/stream-wrapper-unregister.xml index 1a3dcb0375..e21747635b 100644 --- a/reference/stream/functions/stream-wrapper-unregister.xml +++ b/reference/stream/functions/stream-wrapper-unregister.xml @@ -1,6 +1,6 @@ - + stream_wrapper_unregister @@ -12,12 +12,12 @@ boolstream_wrapper_unregister stringprotocol - + すでに定義されているストリームラッパーを無効にします。ラッパーが無効になった後は、 stream_wrapper_register を使用してユーザー定義の ラッパーで上書きしたり stream_wrapper_restore で再度使用可能にしたりすることが可能となります。 - + &reftitle.parameters; diff --git a/reference/stream/streamwrapper/url-stat.xml b/reference/stream/streamwrapper/url-stat.xml index 9a2d68f04c..a33bf2e1ed 100644 --- a/reference/stream/streamwrapper/url-stat.xml +++ b/reference/stream/streamwrapper/url-stat.xml @@ -1,6 +1,6 @@ - + @@ -118,15 +118,15 @@ &reftitle.returnvalues; - + stat が返すのと同じ要素を持つ配列を返さなければなりません。 未知の値、あるいは取得できない値については適切な値 - (通常は 0) を設定します。 + (通常は 0) を設定します。 stat 関数で説明されている mode には特別な注意を払ってください。 失敗した場合は、&false; を返します。 - + diff --git a/reference/uopz/functions/uopz-get-static.xml b/reference/uopz/functions/uopz-get-static.xml index b0e2873e32..89d5facf32 100644 --- a/reference/uopz/functions/uopz-get-static.xml +++ b/reference/uopz/functions/uopz-get-static.xml @@ -1,6 +1,6 @@ - + uopz_get_static @@ -51,11 +51,11 @@ 成功した場合、現在の値にマップされた変数名の連想配列を返します。 関数やメソッド名が存在しない場合は &null; を返します。 - + PHP 8.3.0 以降では、static 変数の初期化子はコンパイル時に計算されますが、 それが不可能な場合、つまり関数やメソッドが初回実行される場合のみ、 初回実行前の static変数の値は &null; として報告されます。 - + diff --git a/reference/win32service/functions/win32-query-service-status.xml b/reference/win32service/functions/win32-query-service-status.xml index 1d49785820..b4ee1f5c70 100644 --- a/reference/win32service/functions/win32-query-service-status.xml +++ b/reference/win32service/functions/win32-query-service-status.xml @@ -1,6 +1,6 @@ - + @@ -86,13 +86,13 @@ Win32ExitCode - + サービスが終了した際にプロセスが返すコード。 この値は終了モードがgracefulでなかった場合、 WIN32_ERROR_SERVICE_SPECIFIC_ERROR と同じです。 Win32Service エラーコード および win32_set_service_exit_mode も参照ください。 - + diff --git a/reference/xml/functions/xml-parser-set-option.xml b/reference/xml/functions/xml-parser-set-option.xml index 78be09daaf..d763a7e589 100644 --- a/reference/xml/functions/xml-parser-set-option.xml +++ b/reference/xml/functions/xml-parser-set-option.xml @@ -1,6 +1,6 @@ - + xml_parser_set_option @@ -128,11 +128,11 @@ 無効な値を option に渡すと、ValueError がスローされます。 - + PHP 8.0.0 より前のバージョンでは、 無効な値を option に渡すと E_WARNING が発生し、&false; を返していました。 - + diff --git a/reference/yaf/yaf_view_simple/assignref.xml b/reference/yaf/yaf_view_simple/assignref.xml index 47d9714dd4..908d4efe4b 100644 --- a/reference/yaf/yaf_view_simple/assignref.xml +++ b/reference/yaf/yaf_view_simple/assignref.xml @@ -1,6 +1,6 @@ - + @@ -27,9 +27,9 @@ name - + テンプレート内でのアクセスに使う名前。 - + diff --git a/reference/yaf/yaf_view_simple/eval.xml b/reference/yaf/yaf_view_simple/eval.xml index 807409dead..13e8215b1b 100644 --- a/reference/yaf/yaf_view_simple/eval.xml +++ b/reference/yaf/yaf_view_simple/eval.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ stringtpl_content arraytpl_vars - + 文字列のテンプレートをレンダリングして結果を返します。 - + diff --git a/reference/yaz/functions/yaz-es.xml b/reference/yaz/functions/yaz-es.xml index b519ac37b9..352149dd3f 100644 --- a/reference/yaz/functions/yaz-es.xml +++ b/reference/yaz/functions/yaz-es.xml @@ -1,6 +1,6 @@ - + yaz_es @@ -22,11 +22,11 @@ arrayargs - + この関数は、拡張サービスのリクエストを準備します。 拡張サービスとは、レコードの更新や蔵書の注文、データベースの管理などの Z39.50 のさまざまな機能のことです。 - + Z39.50 サーバーの多くは、拡張サービスをサポートしていません。 diff --git a/reference/zip/book.xml b/reference/zip/book.xml index 6c43a6392c..624e92ac86 100644 --- a/reference/zip/book.xml +++ b/reference/zip/book.xml @@ -1,6 +1,6 @@ - + @@ -10,9 +10,9 @@ &reftitle.intro; - + この拡張モジュールにより、ZIP 圧縮されたアーカイブとその内部のファイルに対する透過的な読み書きが可能となります。 - + diff --git a/reference/zip/configure.xml b/reference/zip/configure.xml index d6f66465c4..5b0c904250 100644 --- a/reference/zip/configure.xml +++ b/reference/zip/configure.xml @@ -1,18 +1,18 @@ - +
&reftitle.install;
Linux システム - + これらの関数を利用するには、設定オプション を使用して ZIP サポートを有効にして PHP をコンパイルしなければなりません。 - - + + PHP 7.4.0 より前のバージョンでは、libzip は PHP にバンドルされていました。 拡張モジュールをコンパイルするには、 オプションを使う必要がありました。 @@ -21,30 +21,30 @@ しかし、 オプションを configure オプションに追加することで バンドルされている libzip を使えていました。 - - + + オプションが追加されています。 これを指定すると、システムにインストールされた libzip を利用します。 これには、libzip 0.11 以降が必要です。0.11.2 以降を推奨します。 - +
Windows - + PHP 8.2.0 以降では、 php_zip.dll を &php.ini; で有効にする必要があります。 それより前のバージョンでは、この拡張モジュールは標準で PHP に組み込まれていました。 - +
PECL 経由でのインストール - + &pecl.info; &url.pecl.package;zip. - +
diff --git a/reference/zip/constants.xml b/reference/zip/constants.xml index 65a25c543c..f69dff9b75 100644 --- a/reference/zip/constants.xml +++ b/reference/zip/constants.xml @@ -1,20 +1,20 @@ - + &reftitle.constants; &extension.constants; - + ZipArchive はクラス定数を使用します。 定数には様々なタイプがありますが、主なものは以下です: フラグ (接頭辞 FL_)、 グローバルフラグ(接頭辞 AFL_)、 エラー (接頭辞 ER_)、 モード (接頭辞なし)。 - + アーカイブのオープンモード diff --git a/reference/zip/examples.xml b/reference/zip/examples.xml index aac30b4dd5..0c199d71f3 100644 --- a/reference/zip/examples.xml +++ b/reference/zip/examples.xml @@ -1,6 +1,6 @@ - + @@ -80,13 +80,13 @@ print_r($odt_meta); ]]> - + この例は旧 API (PHP 4 用) を使用します。まず ZIP ファイルアーカイブをオープンし、アーカイブ内の各ファイルを読み込み、 その内容を出力します。この例で使用するアーカイブ test2.zip は、ZZIPlib のソース配布物に含まれているテスト用アーカイブのひとつです。 - + Zip の使用例 diff --git a/reference/zip/functions/zip-close.xml b/reference/zip/functions/zip-close.xml index 489a723745..214d6b304a 100644 --- a/reference/zip/functions/zip-close.xml +++ b/reference/zip/functions/zip-close.xml @@ -1,7 +1,7 @@ - + @@ -20,9 +20,9 @@ voidzip_close resourcezip - + ZIP ファイルアーカイブを閉じます。 - +
&reftitle.parameters; @@ -31,9 +31,9 @@ zip - + 事前に zip_open でオープンされた ZIP ファイル。 - + @@ -41,9 +41,9 @@ &reftitle.returnvalues; - + &return.void; - + diff --git a/reference/zip/functions/zip-entry-close.xml b/reference/zip/functions/zip-entry-close.xml index 1dc07809d7..83104fd096 100644 --- a/reference/zip/functions/zip-entry-close.xml +++ b/reference/zip/functions/zip-entry-close.xml @@ -1,6 +1,6 @@ - + @@ -19,9 +19,9 @@ boolzip_entry_close resourcezip_entry - + 指定されたディレクトリエントリを閉じます。 - + &reftitle.parameters; @@ -30,10 +30,10 @@ zip_entry - + zip_entry_openによりオープンされたディレクトリの エントリ - + @@ -41,9 +41,9 @@ &reftitle.returnvalues; - + &return.success; - + diff --git a/reference/zip/functions/zip-entry-compressedsize.xml b/reference/zip/functions/zip-entry-compressedsize.xml index fcf3364ce4..221c3070cf 100644 --- a/reference/zip/functions/zip-entry-compressedsize.xml +++ b/reference/zip/functions/zip-entry-compressedsize.xml @@ -1,6 +1,6 @@ - + @@ -19,9 +19,9 @@ intfalsezip_entry_compressedsize resourcezip_entry - + ディレクトリエントリの圧縮時のサイズを取得します。 - + &reftitle.parameters; @@ -30,9 +30,9 @@ zip_entry - + zip_readにより返されたディレクトリのエントリ - + @@ -40,10 +40,10 @@ &reftitle.returnvalues; - + 圧縮後のサイズを返します。 &return.falseforfailure; - + diff --git a/reference/zip/functions/zip-entry-compressionmethod.xml b/reference/zip/functions/zip-entry-compressionmethod.xml index 6a49ad0135..2bfa3be42d 100644 --- a/reference/zip/functions/zip-entry-compressionmethod.xml +++ b/reference/zip/functions/zip-entry-compressionmethod.xml @@ -1,6 +1,6 @@ - + @@ -19,10 +19,10 @@ stringfalsezip_entry_compressionmethod resourcezip_entry - + zip_entryにより指定されたディレクトリエントリの 圧縮方法を返します。 - + &reftitle.parameters; @@ -31,9 +31,9 @@ zip_entry - + zip_readにより返されたディレクトリのエントリ - + @@ -41,10 +41,10 @@ &reftitle.returnvalues; - + 圧縮方法を返します。 &return.falseforfailure; - + diff --git a/reference/zip/functions/zip-entry-filesize.xml b/reference/zip/functions/zip-entry-filesize.xml index a574444ffb..943bcf439a 100644 --- a/reference/zip/functions/zip-entry-filesize.xml +++ b/reference/zip/functions/zip-entry-filesize.xml @@ -1,6 +1,6 @@ - + @@ -19,9 +19,9 @@ intfalsezip_entry_filesize resourcezip_entry - + ディレクトリエントリの実際のファイルサイズを返します。 - + &reftitle.parameters; @@ -30,9 +30,9 @@ zip_entry - + zip_readにより返されたディレクトリのエントリ - + @@ -40,10 +40,10 @@ &reftitle.returnvalues; - + ディレクトリエントリのサイズを返します。 &return.falseforfailure; - + diff --git a/reference/zip/functions/zip-entry-name.xml b/reference/zip/functions/zip-entry-name.xml index 69b2076607..8ca29a7a21 100644 --- a/reference/zip/functions/zip-entry-name.xml +++ b/reference/zip/functions/zip-entry-name.xml @@ -1,6 +1,6 @@ - + @@ -19,9 +19,9 @@ stringfalsezip_entry_name resourcezip_entry - + 指定したディレクトリエントリの名前を返します。 - + &reftitle.parameters; @@ -30,9 +30,9 @@ zip_entry - + zip_readにより返されたディレクトリエントリ - + @@ -40,10 +40,10 @@ &reftitle.returnvalues; - + ディレクトリエントリの名前を返します。 &return.falseforfailure; - + diff --git a/reference/zip/functions/zip-entry-open.xml b/reference/zip/functions/zip-entry-open.xml index 085822a8ab..0f0bad70a5 100644 --- a/reference/zip/functions/zip-entry-open.xml +++ b/reference/zip/functions/zip-entry-open.xml @@ -1,6 +1,6 @@ - + @@ -21,9 +21,9 @@ resourcezip_entry stringmode"rb" - + 読込み用にzipファイルの中にディレクトリエントリをオープンします。 - + &reftitle.parameters; @@ -32,31 +32,31 @@ zip_dp - + zip_openにより返された有効なリソースハンドル - + zip_entry - + zip_readにより返されたディレクトリエントリ - + mode - + fopenのマニュアルで指定されたモードのどれか - + - + 現在、modeは無視され、 常に"rb"となります。 これは、PHPのzipサポートが読み込みのみのアクセスであるためです。 - + @@ -65,16 +65,16 @@ &reftitle.returnvalues; - + &return.success; - + - + fopenや他の同種の関数と異なり、 zip_entry_openの戻り値は、 処理の結果のみを示し、ディレクトリエントリの読み込みやクローズの際には 必要とされません。 - + diff --git a/reference/zip/functions/zip-entry-read.xml b/reference/zip/functions/zip-entry-read.xml index f639f8b69a..125415da27 100644 --- a/reference/zip/functions/zip-entry-read.xml +++ b/reference/zip/functions/zip-entry-read.xml @@ -1,6 +1,6 @@ - + @@ -20,9 +20,9 @@ resourcezip_entry intlen1024 - + オープンされたディレクトリエントリから読み込みます。 - +
&reftitle.parameters; @@ -31,21 +31,21 @@ zip_entry - + zip_readにより返されたディレクトリエントリ - + len - + 返すバイト数。 - + - + これは、読み込むデータの非圧縮時の長さとなります。 - + @@ -54,10 +54,10 @@ &reftitle.returnvalues; - + 読み込んだデータを返します。ファイルの終端に達した場合は空文字列、エラー時には &false; を返します。 - + diff --git a/reference/zip/functions/zip-open.xml b/reference/zip/functions/zip-open.xml index 5517e879da..1e541181c7 100644 --- a/reference/zip/functions/zip-open.xml +++ b/reference/zip/functions/zip-open.xml @@ -1,6 +1,6 @@ - + @@ -19,9 +19,9 @@ resourceintfalsezip_open stringfilename - + 読み込み用に新規に Zip アーカイブをオープンします。 - + &reftitle.parameters; @@ -30,9 +30,9 @@ filename - + オープンする ZIP アーカイブのファイル名。 - + @@ -40,13 +40,13 @@ &reftitle.returnvalues; - + 後で zip_read および zip_close で使用されるリソースハンドル、または、 filename が存在しない場合やその他のエラーが発生した場合は &false; か エラーの番号を返します。 - + diff --git a/reference/zip/functions/zip-read.xml b/reference/zip/functions/zip-read.xml index 4b156e182d..b01bfc84aa 100644 --- a/reference/zip/functions/zip-read.xml +++ b/reference/zip/functions/zip-read.xml @@ -1,6 +1,6 @@ - + @@ -19,9 +19,9 @@ resourcefalsezip_read resourcezip - + Zip ファイルアーカイブの中の次のエントリを読み込みます。 - + &reftitle.parameters; @@ -30,9 +30,9 @@ zip - + zip_open でオープン済みの ZIP ファイル。 - + @@ -40,12 +40,12 @@ &reftitle.returnvalues; - + 後で zip_entry_... 関数で使用されるディレクトリエントリリソース、または、 読み込むエントリがもうない場合に &false;、 その他のエラーが発生した場合はエラー番号を返します。 - + diff --git a/reference/zip/setup.xml b/reference/zip/setup.xml index 6759da19ae..cf5e52deee 100644 --- a/reference/zip/setup.xml +++ b/reference/zip/setup.xml @@ -1,6 +1,6 @@ - + @@ -9,14 +9,14 @@
&reftitle.required; - + この拡張モジュールには、libzip が必要です。PHP 7.3 までは、libzip 1.1.2 がバンドルされていました。 - - + + サポートされている最も古いバージョンは 0.11 ですが、 それより新しいバージョンを使うことを強く推奨します。 - + 暗号化をサポートするにはバージョン 1.2 が必要です。ZipArchive::setEncryptionIndex を参照ください。 @@ -34,11 +34,11 @@
&reftitle.resources; - + Zip モジュールでは二種類のリソース型が使用されます。 まず最初が Zip アーカイブを表す Zip directory で、 もうひとつはアーカイブのエントリを表す Zip Entry です。 - +
diff --git a/reference/zip/ziparchive.xml b/reference/zip/ziparchive.xml index 49f65a65d7..caa3c58890 100644 --- a/reference/zip/ziparchive.xml +++ b/reference/zip/ziparchive.xml @@ -1,6 +1,6 @@ - + <classname>ZipArchive</classname> クラス @@ -11,9 +11,9 @@
&reftitle.intro; - + Zip で圧縮されたファイルアーカイブです。 - +
@@ -747,40 +747,40 @@ lastId - 最後に追加されたエントリのインデックス(ファイルまたはディレクトリ)。 - PHP 8.0.0 以降および PECL 1.18.0 以降で利用可能です。 + 最後に追加されたエントリのインデックス(ファイルまたはディレクトリ)。 + PHP 8.0.0 以降および PECL 1.18.0 以降で利用可能です。 status - Zip アーカイブの状態。 - PHP 8.0.0 以降および PECL 1.18.0 以降では、閉じられたアーカイブでも利用可能です。 + Zip アーカイブの状態。 + PHP 8.0.0 以降および PECL 1.18.0 以降では、閉じられたアーカイブでも利用可能です。 statusSys - Zip アーカイブのシステム状態。 - PHP 8.0.0 以降および PECL 1.18.0 以降では、閉じられたアーカイブでも利用可能です。 + Zip アーカイブのシステム状態。 + PHP 8.0.0 以降および PECL 1.18.0 以降では、閉じられたアーカイブでも利用可能です。 numFiles - アーカイブ内のファイル数 + アーカイブ内のファイル数 filename - ファイルシステム上のファイル名 + ファイルシステム上のファイル名 comment - アーカイブのコメント + アーカイブのコメント diff --git a/reference/zip/ziparchive/addemptydir.xml b/reference/zip/ziparchive/addemptydir.xml index 3265e898e4..2f7dcc8e2e 100644 --- a/reference/zip/ziparchive/addemptydir.xml +++ b/reference/zip/ziparchive/addemptydir.xml @@ -1,5 +1,5 @@ - + @@ -13,9 +13,9 @@ stringdirname intflags0 - + 空のディレクトリをアーカイブに追加します。 - + @@ -25,21 +25,21 @@ dirname - + 追加するディレクトリ。 - + flags - + 以下のビットマスクの組み合わせ: ZipArchive::FL_ENC_GUESS, ZipArchive::FL_ENC_UTF_8, ZipArchive::FL_ENC_CP437。 これらの定数の振る舞いは、定義済みの定数 で説明しています。 - + @@ -48,9 +48,9 @@ &reftitle.returnvalues; - + &return.success; - + diff --git a/reference/zip/ziparchive/addfile.xml b/reference/zip/ziparchive/addfile.xml index 6277c32e92..665a0b6c91 100644 --- a/reference/zip/ziparchive/addfile.xml +++ b/reference/zip/ziparchive/addfile.xml @@ -1,5 +1,5 @@ - + @@ -16,9 +16,9 @@ intlengthZipArchive::LENGTH_TO_END intflagsZipArchive::FL_OVERWRITE - + 指定したパスから、ファイルを ZIP アーカイブに追加します。 - + &zip.filename.separator; @@ -28,43 +28,43 @@ filepath - + 追加するファイルへのパス。 - + entryname - + 空でない値を指定した場合は ZIP アーカイブ内部での名前となり、filepath を上書きします。 - + start - + ファイルを一部コピーする場合の開始位置。 - + length - + ファイルを一部コピーする場合の、コピーする長さ。 ZipArchive::LENGTH_TO_END (0) を指定すると、 ファイルサイズのぶんだけコピーします。 ZipArchive::LENGTH_UNCHECKED を指定すると、 start の位置から)ファイル全体をコピーします。 - + flags - + 以下のビットマスクの組み合わせ: ZipArchive::FL_OVERWRITE, ZipArchive::FL_ENC_GUESS, @@ -72,7 +72,7 @@ ZipArchive::FL_ENC_CP437, ZipArchive::FL_OPEN_FILE_NOW。 これらの定数の振る舞いは、定義済みの定数 で説明しています。 - + @@ -81,9 +81,9 @@ &reftitle.returnvalues; - + &return.success; - + @@ -126,11 +126,11 @@ &reftitle.examples; - + この例は、ZIP ファイルアーカイブ test.zip をオープンし、ファイル /path/to/index.txtnewname.txt という名前で追加します。 - + オープンおよび追加 @@ -154,13 +154,13 @@ if ($zip->open('test.zip') === TRUE) { &reftitle.notes; - + アーカイブにファイルを追加するよう設定すると、PHP はそのファイルをロックします。 ロックが解除されるのは、ZipArchive::close を呼ぶなり ZipArchive オブジェクトを破棄するなりして ZipArchive オブジェクトが閉じられたときだけです。 そのため、追加しようとしているファイルがロックが解除される前に削除されるようなことは起こりません。 - + diff --git a/reference/zip/ziparchive/addfromstring.xml b/reference/zip/ziparchive/addfromstring.xml index a94c892a41..ff99f3cf2f 100644 --- a/reference/zip/ziparchive/addfromstring.xml +++ b/reference/zip/ziparchive/addfromstring.xml @@ -1,5 +1,5 @@ - + @@ -14,9 +14,9 @@ stringcontent intflagsZipArchive::FL_OVERWRITE - + 内容を指定して、ファイルを ZIP アーカイブに追加します。 - + &zip.filename.separator; @@ -26,31 +26,31 @@ name - + 作成するエントリの名前。 - + content - + エントリを作成するために使用するデータの内容。 バイナリセーフな形式で使用します。 - + flags - + 以下のビットマスクの組み合わせ: ZipArchive::FL_OVERWRITE, ZipArchive::FL_ENC_GUESS, ZipArchive::FL_ENC_UTF_8, ZipArchive::FL_ENC_CP437。 これらの定数の振る舞いは、定義済みの定数 で説明しています。 - + @@ -58,9 +58,9 @@ &reftitle.returnvalues; - + &return.success; - + diff --git a/reference/zip/ziparchive/addglob.xml b/reference/zip/ziparchive/addglob.xml index 516aff8bd5..1eaf7ab658 100644 --- a/reference/zip/ziparchive/addglob.xml +++ b/reference/zip/ziparchive/addglob.xml @@ -1,6 +1,6 @@ - + @@ -17,9 +17,9 @@ intflags0 arrayoptions[] - + ディレクトリから、glob pattern にマッチするファイルを追加します。 - + &zip.filename.separator; @@ -29,17 +29,17 @@ pattern - + glob パターン。どのファイルを対象にするのかを指定します。 - + flags - + glob() のフラグのビットマスク。 - + @@ -49,37 +49,37 @@ オプションの連想配列。次のオプションが使えます。 - + "add_path" - - + + アーカイブ内のファイルのローカルパスに変換するときにつけるプレフィックス。 これが適用されるのは、 "remove_path""remove_all_path" で定義された削除処理がすべて終わった後です。 - + - + "remove_path" - - + + マッチしたファイルをアーカイブに追加する前に削除するプレフィックス。 - + - + "remove_all_path" - - + + &true; にすると、ファイル名だけを使ってアーカイブのルートに追加します。 - + - + "flags" - - + + 以下のビットマスクの組み合わせ: ZipArchive::FL_OVERWRITE, ZipArchive::FL_ENC_GUESS, @@ -87,41 +87,41 @@ ZipArchive::FL_ENC_CP437, ZipArchive::FL_OPEN_FILE_NOW。 これらの定数の振る舞いは、定義済みの定数 で説明しています。 - + - + "comp_method" - - + + 圧縮メソッド。 ZipArchive::CM_* のうちのいずれかです。 - + - + "comp_flags" - - + + 圧縮レベル - + - + "enc_method" - - + + 暗号化メソッド。 ZipArchive::EM_* のうちのいずれかです。 - + - + "enc_password" - - + + 暗号化に使うパスワード - +
@@ -132,10 +132,10 @@ &reftitle.returnvalues; - + 成功した場合、追加されたファイルの array を返します。 &return.falseforfailure; - + @@ -180,9 +180,9 @@ &reftitle.examples; <methodname>ZipArchive::addGlob</methodname> の例 - + 現在の作業ディレクトリにある、すべての PHP スクリプトとテキストファイルを追加します。 - + - + @@ -17,10 +17,10 @@ stringpath"." arrayoptions[] - + ディレクトリから、正規表現の pattern にマッチするファイルを追加します。 この操作は再帰処理ではありません。パターンマッチは、ファイル名に対してだけ行います。 - + @@ -29,26 +29,26 @@ pattern - + PCRE のパターン。どのファイルを対象にするのかを指定します。 - + path - + スキャンするディレクトリ。デフォルトは、現在の作業ディレクトリです。 - + options - + オプションの連想配列。ZipArchive::addGlob と同じオプションが使えます。 - + @@ -56,19 +56,19 @@ &reftitle.returnvalues; - + 成功した場合、追加されたファイルの array を返します。 &return.falseforfailure; - + &reftitle.examples; <methodname>ZipArchive::addPattern</methodname> の例 - + 現在の作業ディレクトリにある、すべての PHP スクリプトとテキストファイルを追加します。 - + - + ZipArchive::clearError @@ -12,10 +12,10 @@ public voidZipArchive::clearError - + アーカイブのステータスエラーメッセージか、 システムエラー かつ/または zip メッセージをクリアします。 - + @@ -25,9 +25,9 @@ &reftitle.returnvalues; - + &return.void; - + diff --git a/reference/zip/ziparchive/close.xml b/reference/zip/ziparchive/close.xml index 56590bd87b..93b7fba9d3 100644 --- a/reference/zip/ziparchive/close.xml +++ b/reference/zip/ziparchive/close.xml @@ -1,6 +1,6 @@ - + @@ -13,17 +13,17 @@ public boolZipArchive::close - + オープンされた、あるいは作成されたアーカイブを閉じ、 変更内容を保存します。このメソッドは、 スクリプトの最後で自動的にコールされます。 - - + + アーカイブにファイルが含まれていない場合、 グローバルフラグ ZipArchive::AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE に従って、 デフォルトではファイルは完全に削除されます。 (空のアーカイブが作られることはありません) - + @@ -34,9 +34,9 @@ &reftitle.returnvalues; - + &return.success; - + diff --git a/reference/zip/ziparchive/count.xml b/reference/zip/ziparchive/count.xml index 1bb879f9ad..c1f72a39ac 100644 --- a/reference/zip/ziparchive/count.xml +++ b/reference/zip/ziparchive/count.xml @@ -1,6 +1,6 @@ - + ZipArchive::count @@ -22,9 +22,9 @@ &reftitle.returnvalues; - + アーカイブにあるファイルの数を返します。 - + diff --git a/reference/zip/ziparchive/deleteindex.xml b/reference/zip/ziparchive/deleteindex.xml index 8b0f810353..1c827d69b4 100644 --- a/reference/zip/ziparchive/deleteindex.xml +++ b/reference/zip/ziparchive/deleteindex.xml @@ -1,6 +1,6 @@ - + @@ -13,9 +13,9 @@ public boolZipArchive::deleteIndex intindex - + インデックスをもとにして、アーカイブ内のエントリを削除します。 - + &reftitle.parameters; @@ -24,9 +24,9 @@ index - + 削除するエントリのインデックス。 - + @@ -34,9 +34,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/deletename.xml b/reference/zip/ziparchive/deletename.xml index bfd9f39592..7b289367c7 100644 --- a/reference/zip/ziparchive/deletename.xml +++ b/reference/zip/ziparchive/deletename.xml @@ -1,6 +1,6 @@ - + @@ -13,9 +13,9 @@ public boolZipArchive::deleteName stringname - + 名前をもとにして、アーカイブ内のエントリを削除します。 - + &reftitle.parameters; @@ -24,9 +24,9 @@ name - + 削除するエントリの名前。 - + @@ -34,9 +34,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/extractto.xml b/reference/zip/ziparchive/extractto.xml index 3acd8f34ea..c0795a6d3f 100644 --- a/reference/zip/ziparchive/extractto.xml +++ b/reference/zip/ziparchive/extractto.xml @@ -1,6 +1,6 @@ - + @@ -14,22 +14,22 @@ stringpathto arraystringnullfiles&null; - + アーカイブの全体あるいは指定したファイルを、 指定した場所に展開します。 - + - + 展開されたファイルとディレクトリのデフォルトのパーミッションは、 可能な限りもっとも広いアクセス権限になります。 これは umask 関数で変更できる umask で制限できます。 - - + + セキュリティ上の理由で、パーミッションは復元されません。 パーミッションを復元するコードのサンプルは、 ZipArchive::getExternalAttributesIndexコードサンプル を参照ください。 - + @@ -39,18 +39,18 @@ pathto - + ファイルを展開する場所。 - + files - + 展開するエントリ。単一のエントリ名、 あるいはエントリ名の配列を指定します。 - + @@ -58,9 +58,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getarchivecomment.xml b/reference/zip/ziparchive/getarchivecomment.xml index 57437305f9..00e039ca49 100644 --- a/reference/zip/ziparchive/getarchivecomment.xml +++ b/reference/zip/ziparchive/getarchivecomment.xml @@ -1,6 +1,6 @@ - + @@ -13,9 +13,9 @@ public stringfalseZipArchive::getArchiveComment intflags0 - + Zip アーカイブのコメントを返します。 - + @@ -25,10 +25,10 @@ flags - + ZipArchive::FL_UNCHANGED を設定すると、 元の変更されていないコメントを返します。 - + @@ -37,9 +37,9 @@ &reftitle.returnvalues; - + Zip アーカイブのコメントを返します。&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getarchiveflag.xml b/reference/zip/ziparchive/getarchiveflag.xml index c8e4bec168..09d104aba5 100644 --- a/reference/zip/ziparchive/getarchiveflag.xml +++ b/reference/zip/ziparchive/getarchiveflag.xml @@ -1,6 +1,6 @@ - + ZipArchive::getArchiveFlag @@ -13,9 +13,9 @@ intflag intflags0 - + Zip アーカイブのグローバルフラグの値を返します。 - + @@ -30,24 +30,24 @@ 以下の定数 AFL_* から選びます: - + ZipArchive::AFL_RDONLY - + - + ZipArchive::AFL_IS_TORRENTZIP - + - + ZipArchive::AFL_WANT_TORRENTZIP - + - + ZipArchive::AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE - + @@ -56,11 +56,11 @@ flags - + flagsZipArchive::FL_UNCHANGED に設定された場合、 もともと設定されていた値が返されます。 - + @@ -69,11 +69,11 @@ &reftitle.returnvalues; - + アーカイブにフラグが設定されている場合は、1 を返します。 設定されていない場合は 0 を返します。 エラーが発生した場合は -1 を返します。 - + diff --git a/reference/zip/ziparchive/getcommentindex.xml b/reference/zip/ziparchive/getcommentindex.xml index f84c4f8968..130d7920ad 100644 --- a/reference/zip/ziparchive/getcommentindex.xml +++ b/reference/zip/ziparchive/getcommentindex.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ intindex intflags0 - + エントリのインデックスを使用して、エントリのコメントを返します。 - + &reftitle.parameters; @@ -25,18 +25,18 @@ index - + エントリのインデックス。 - + flags - + ZipArchive::FL_UNCHANGED を指定すると、 元の変化していないコメントを返します。 - + @@ -44,9 +44,9 @@ &reftitle.returnvalues; - + 成功した場合にコメント、&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getcommentname.xml b/reference/zip/ziparchive/getcommentname.xml index 489ab0ba62..095e207907 100644 --- a/reference/zip/ziparchive/getcommentname.xml +++ b/reference/zip/ziparchive/getcommentname.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ stringname intflags0 - + エントリ名を使用して、エントリのコメントを返します。 - + &reftitle.parameters; @@ -25,18 +25,18 @@ name - + エントリの名前。 - + flags - + ZipArchive::FL_UNCHANGED を指定すると、 元の変化していないコメントが返されます。 - + @@ -44,9 +44,9 @@ &reftitle.returnvalues; - + 成功した場合にコメント、&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getexternalattributesindex.xml b/reference/zip/ziparchive/getexternalattributesindex.xml index b8d2ca2e42..187172ded3 100644 --- a/reference/zip/ziparchive/getexternalattributesindex.xml +++ b/reference/zip/ziparchive/getexternalattributesindex.xml @@ -1,6 +1,6 @@ - + @@ -16,9 +16,9 @@ intattr intflags0 - + インデックスで定義されたエントリの外部属性を取得します。 - + &reftitle.parameters; @@ -27,36 +27,36 @@ index - + エントリのインデックス - + opsys - + 成功した場合に、 ZipArchive::OPSYS_ 定数のうちのひとつで定義された、 オペレーティングシステムコードを取得します。 - + attr - + 成功した場合に、外部属性を取得します。 値はオペレーティングシステム依存です。 - + flags - + ZipArchive::FL_UNCHANGED に設定された場合、 オリジナルの変更されなかった属性が返されます。 - + @@ -64,16 +64,16 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; - + この例は、ZIP アーカイブ test.zip の 全エントリを展開し、外部属性から Unixの権限を設定しています。 - + 全てのエントリをUnixの権限付きで展開する diff --git a/reference/zip/ziparchive/getexternalattributesname.xml b/reference/zip/ziparchive/getexternalattributesname.xml index be5f3d9eb5..3f57b065e3 100644 --- a/reference/zip/ziparchive/getexternalattributesname.xml +++ b/reference/zip/ziparchive/getexternalattributesname.xml @@ -1,6 +1,6 @@ - + @@ -16,9 +16,9 @@ intattr intflags0 - + 名前で定義されたエントリの外部属性を取得します。 - + &reftitle.parameters; @@ -27,36 +27,36 @@ name - + エントリの名前 - + opsys - + 成功した場合に、 ZipArchive::OPSYS_ 定数のうちのひとつで定義された、 オペレーティングシステムコードを取得します。 - + attr - + 成功した場合に、外部属性を取得します。 値はオペレーティングシステム依存です。 - + flags - + ZipArchive::FL_UNCHANGED に設定された場合、 オリジナルの変更されなかった属性が返されます。 - + @@ -64,9 +64,9 @@ &reftitle.returnvalues; - + &return.success; - + - + @@ -15,9 +15,9 @@ intlen0 intflags0 - + インデックスを使用して、エントリの内容を返します。 - + &reftitle.parameters; @@ -26,17 +26,17 @@ index - + エントリのインデックス。 - + len - + エントリから読み込む長さ。0 の場合はエントリ全体を読み込みます。 - + @@ -47,14 +47,14 @@ OR で連結して使用します。 - + ZipArchive::FL_UNCHANGED - + - + ZipArchive::FL_COMPRESSED - + @@ -65,9 +65,9 @@ &reftitle.returnvalues; - + 成功した場合にエントリの内容、&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getfromname.xml b/reference/zip/ziparchive/getfromname.xml index e2bcc474ec..2c239b0804 100644 --- a/reference/zip/ziparchive/getfromname.xml +++ b/reference/zip/ziparchive/getfromname.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ intlen0 intflags0 - + 名前を使用して、エントリの内容を返します。 - + &reftitle.parameters; @@ -26,17 +26,17 @@ name - + エントリの名前。 - + len - + エントリから読み込む長さ。0 の場合はエントリ全体を読み込みます。 - + @@ -47,19 +47,19 @@ OR で連結して使用します。 - + ZipArchive::FL_UNCHANGED - + - + ZipArchive::FL_COMPRESSED - + - + ZipArchive::FL_NOCASE - + @@ -70,9 +70,9 @@ &reftitle.returnvalues; - + 成功した場合にエントリの内容、&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getnameindex.xml b/reference/zip/ziparchive/getnameindex.xml index dc5fe052ff..1e480631ea 100644 --- a/reference/zip/ziparchive/getnameindex.xml +++ b/reference/zip/ziparchive/getnameindex.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ intindex intflags0 - + インデックスを使用して、エントリの名前を返します。 - + &reftitle.parameters; @@ -25,18 +25,18 @@ index - + エントリのインデックス。 - + flags - + ZipArchive::FL_UNCHANGED を指定すると、 元の変化していないコメントを返します。 - + @@ -44,9 +44,9 @@ &reftitle.returnvalues; - + 成功した場合に名前、&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getstatusstring.xml b/reference/zip/ziparchive/getstatusstring.xml index 722f0f2593..187b877cf1 100644 --- a/reference/zip/ziparchive/getstatusstring.xml +++ b/reference/zip/ziparchive/getstatusstring.xml @@ -1,5 +1,5 @@ - + @@ -12,9 +12,9 @@ public stringZipArchive::getStatusString - + システムエラー、または ZIP メッセージに関するエラー情報を返す - + @@ -24,9 +24,9 @@ &reftitle.returnvalues; - + 成功時にはステータスメッセージを文字列で返します。 - + diff --git a/reference/zip/ziparchive/getstream.xml b/reference/zip/ziparchive/getstream.xml index f764302c22..d42b1d38bd 100644 --- a/reference/zip/ziparchive/getstream.xml +++ b/reference/zip/ziparchive/getstream.xml @@ -1,6 +1,6 @@ - + @@ -13,10 +13,10 @@ public resourcefalseZipArchive::getStream stringname - + 名前を使用して、エントリのファイルハンドラを取得します。 現時点では読み込み操作のみに対応しています。 - + &reftitle.parameters; @@ -25,9 +25,9 @@ name - + 使用するエントリの名前。 - + @@ -35,10 +35,10 @@ &reftitle.returnvalues; - + 成功した場合にファイルポインタ (リソース)、 &return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getstreamindex.xml b/reference/zip/ziparchive/getstreamindex.xml index 2e46af2637..a8028c81b3 100644 --- a/reference/zip/ziparchive/getstreamindex.xml +++ b/reference/zip/ziparchive/getstreamindex.xml @@ -1,6 +1,6 @@ - + ZipArchive::getStreamIndex @@ -13,11 +13,11 @@ intindex intflags0 - + インデックスで指定されたエントリへの、 ファイルハンドラを取得します。 現状では、読み取りのみをサポートしています。 - + &reftitle.parameters; @@ -26,18 +26,18 @@ index - + エントリのインデックス。 - + flags - + ZipArchive::FL_UNCHANGED に設定すると、オリジナルの未変更のストリームを返します。 - + @@ -45,10 +45,10 @@ &reftitle.returnvalues; - + 成功時に、ファイルポインタ(リソース) を返します。 &return.falseforfailure;. - + &reftitle.examples; diff --git a/reference/zip/ziparchive/getstreamname.xml b/reference/zip/ziparchive/getstreamname.xml index 8c61990e78..163d1fbe7b 100644 --- a/reference/zip/ziparchive/getstreamname.xml +++ b/reference/zip/ziparchive/getstreamname.xml @@ -1,6 +1,6 @@ - + ZipArchive::getStreamName @@ -13,11 +13,11 @@ stringname intflags0 - + インデックスで指定されたエントリへの、 ファイルハンドラを取得します。 現状では、読み取り操作のみをサポートしています。 - + &reftitle.parameters; @@ -26,18 +26,18 @@ name - + エントリの名前。 - + flags - + ZipArchive::FL_UNCHANGED に設定すると、オリジナルの未変更のストリームを返します。 - + @@ -45,10 +45,10 @@ &reftitle.returnvalues; - + 成功時に、ファイルポインタ(リソース) を返します。 &return.falseforfailure;. - + &reftitle.examples; diff --git a/reference/zip/ziparchive/iscompressionmethoddupported.xml b/reference/zip/ziparchive/iscompressionmethoddupported.xml index 31ccbb6833..36ab992aa0 100644 --- a/reference/zip/ziparchive/iscompressionmethoddupported.xml +++ b/reference/zip/ziparchive/iscompressionmethoddupported.xml @@ -1,6 +1,6 @@ - + @@ -16,9 +16,9 @@ intmethod boolenc&true; - + 圧縮方式を libzip がサポートしているかをチェックします。 - + @@ -28,19 +28,19 @@ method - + 圧縮方式。 定数 ZipArchive::CM_* のうちのいずれかです。 - + enc - + &true; を設定すると圧縮方式をチェックします。 &false; を設定すると伸長方式をチェックします。 - + @@ -49,17 +49,17 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.notes; - + この関数は、libzip ≥ 1.7.0 を使ってPHPをビルドした場合にのみ利用可能です。 - + diff --git a/reference/zip/ziparchive/isencryptionmethoddupported.xml b/reference/zip/ziparchive/isencryptionmethoddupported.xml index 5498e2be57..3f8f27ba9c 100644 --- a/reference/zip/ziparchive/isencryptionmethoddupported.xml +++ b/reference/zip/ziparchive/isencryptionmethoddupported.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ intmethod boolenc&true; - + 暗号化方式を libzip がサポートしているかどうかをチェックします - + @@ -27,19 +27,19 @@ method - + 暗号化方式。 定数 ZipArchive::EM_* のうちのいずれかです。 - + enc - + &true; を設定すると、暗号化方式をチェックし、 &false; を設定すると、復号化方式をチェックします。 - + @@ -48,17 +48,17 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.notes; - + この関数は、libzip ≥ 1.7.0 を使ってPHPをビルドした場合にのみ利用可能です。 - + diff --git a/reference/zip/ziparchive/locatename.xml b/reference/zip/ziparchive/locatename.xml index d7bb95e190..aeab20f292 100644 --- a/reference/zip/ziparchive/locatename.xml +++ b/reference/zip/ziparchive/locatename.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ stringname intflags0 - + 名前を使用して、エントリの場所を取得します。 - + &reftitle.parameters; @@ -25,9 +25,9 @@ name - + 探したいエントリの名前。 - + @@ -39,14 +39,14 @@ あるいは何もしていしない場合は 0 とします。 - + ZipArchive::FL_NOCASE - + - + ZipArchive::FL_NODIR - + @@ -57,9 +57,9 @@ &reftitle.returnvalues; - + 成功した場合にエントリのインデックス、&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/open.xml b/reference/zip/ziparchive/open.xml index a2a42b6e5e..9805b18e8e 100644 --- a/reference/zip/ziparchive/open.xml +++ b/reference/zip/ziparchive/open.xml @@ -1,6 +1,6 @@ - + @@ -14,12 +14,12 @@ stringfilename intflags0 - + 新しい、または既に存在する zip アーカイブを 読み込み/書き込み/変更用にオープンします。 - - + + libzip 1.6.0 以降では、空のファイルは有効なアーカイブではなくなりました。 - + &reftitle.parameters; @@ -28,9 +28,9 @@ filename - + オープンする ZIP アーカイブのファイル名。 - + @@ -40,29 +40,29 @@ アーカイブのオープンに使用するモード。 - + ZipArchive::OVERWRITE - + - + ZipArchive::CREATE - + - + ZipArchive::RDONLY - + - + ZipArchive::EXCL - + - + ZipArchive::CHECKCONS - + diff --git a/reference/zip/ziparchive/registercancelcallback.xml b/reference/zip/ziparchive/registercancelcallback.xml index 1b13fc85d5..bd9969670c 100644 --- a/reference/zip/ziparchive/registercancelcallback.xml +++ b/reference/zip/ziparchive/registercancelcallback.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ public boolZipArchive::registerCancelCallback callablecallback - + アーカイブを閉じている間にキャンセルできるように callback 関数を登録します。 - + @@ -27,10 +27,10 @@ callback - + この関数が0を返すと、操作は続行されます。 それ以外の値を返すと、操作はキャンセルされます。 - + @@ -39,17 +39,17 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; - + この例は、php.zip というZIPファイルを生成し、 ある実行時の条件に応じて操作をキャンセルします。 - + ファイルをアーカイブする @@ -71,9 +71,9 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) { &reftitle.notes; - + この関数は、libzip ≥ 1.6.0 と PHP をビルドした場合のみ利用できます。 - + diff --git a/reference/zip/ziparchive/registerprogresscallback.xml b/reference/zip/ziparchive/registerprogresscallback.xml index abc0badddc..5424981218 100644 --- a/reference/zip/ziparchive/registerprogresscallback.xml +++ b/reference/zip/ziparchive/registerprogresscallback.xml @@ -1,6 +1,6 @@ - + @@ -16,9 +16,9 @@ floatrate callablecallback - + アーカイブを閉じている間に更新できるように callback 関数を登録します。 - + @@ -28,18 +28,18 @@ rate - + コールバックを呼び出す間の変更の割合(0.0 から 1.0 の間の値を設定します) - + callback - + この関数は現在の state (状態) を (0.0 から 1.0 の間の) float で受け取ります。 - + @@ -48,17 +48,17 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; - + この例は、php.zip というZIPファイルを生成し、 進捗状況を表示します。 - + ファイルをアーカイブする @@ -79,9 +79,9 @@ if ($zip->open('php.zip', ZipArchive::CREATE | ZipArchive::OVERWRITE)) { &reftitle.notes; - + この関数は、libzip ≥ 1.3.0 と PHP をビルドした場合のみ利用できます。 - + diff --git a/reference/zip/ziparchive/renameindex.xml b/reference/zip/ziparchive/renameindex.xml index 081182fdb4..0a3fd77800 100644 --- a/reference/zip/ziparchive/renameindex.xml +++ b/reference/zip/ziparchive/renameindex.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ intindex stringnew_name - + インデックスを使用して、エントリ名を変更します。 - + &reftitle.parameters; @@ -25,17 +25,17 @@ index - + 名前を変更するエントリのインデックス。 - + new_name - + 新しい名前。 - + @@ -43,9 +43,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/renamename.xml b/reference/zip/ziparchive/renamename.xml index 075f402b2f..adabcb14f1 100644 --- a/reference/zip/ziparchive/renamename.xml +++ b/reference/zip/ziparchive/renamename.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ stringname stringnew_name - + 名前を使用して、エントリ名を変更します。 - + &reftitle.parameters; @@ -25,17 +25,17 @@ name - + 名前を変更するエントリの名前。 - + new_name - + 新しい名前。 - + @@ -43,9 +43,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/replacefile.xml b/reference/zip/ziparchive/replacefile.xml index ea73cd41af..7421b4ff5e 100644 --- a/reference/zip/ziparchive/replacefile.xml +++ b/reference/zip/ziparchive/replacefile.xml @@ -1,5 +1,5 @@ - + @@ -16,9 +16,9 @@ intlengthZipArchive::LENGTH_TO_END intflags0 - + 指定されたパスのファイルにアーカイブの一部を置き換えます。 - + &zip.filename.separator; @@ -28,50 +28,50 @@ filepath - + 追加するファイルのパス。 - + index - + 置き換えるファイルのインデックス。名前は変更されません。 - + start - + ファイルを一部コピーする場合の開始位置。 - + length - + ファイルを一部コピーする場合の、コピーする長さ。 ZipArchive::LENGTH_TO_END (0) を指定すると、 ファイルサイズのぶんだけコピーします。 ZipArchive::LENGTH_UNCHECKED を指定すると、 start の位置から)ファイル全体をコピーします。 - + flags - + 以下のビットマスクの組み合わせ: ZipArchive::FL_ENC_GUESS, ZipArchive::FL_ENC_UTF_8, ZipArchive::FL_ENC_CP437, ZipArchive::FL_OPEN_FILE_NOW。 これらの定数の振る舞いは、定義済みの定数 で説明しています。 - + @@ -80,9 +80,9 @@ &reftitle.returnvalues; - + &return.success; - + @@ -119,11 +119,11 @@ &reftitle.examples; - + この例は、ZIP ファイルアーカイブ test.zip をオープンし、インデックス1 のエントリを /path/to/index.txt に置き換えます。 - + オープンおよび追加 diff --git a/reference/zip/ziparchive/setarchivecomment.xml b/reference/zip/ziparchive/setarchivecomment.xml index a89cd90d80..6136a025e4 100644 --- a/reference/zip/ziparchive/setarchivecomment.xml +++ b/reference/zip/ziparchive/setarchivecomment.xml @@ -1,6 +1,6 @@ - + @@ -13,9 +13,9 @@ public boolZipArchive::setArchiveComment stringcomment - + ZIP アーカイブのコメントを設定します。 - + &reftitle.parameters; @@ -24,9 +24,9 @@ comment - + コメントの内容。 - + @@ -34,9 +34,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/setarchiveflag.xml b/reference/zip/ziparchive/setarchiveflag.xml index afdfcde465..bbf5604a17 100644 --- a/reference/zip/ziparchive/setarchiveflag.xml +++ b/reference/zip/ziparchive/setarchiveflag.xml @@ -1,6 +1,6 @@ - + ZipArchive::setArchiveFlag @@ -13,9 +13,9 @@ intflag intvalue - + ZIP アーカイブのグローバルフラグを設定します。 - + &reftitle.parameters; @@ -29,14 +29,14 @@ 定数 AFL_* から選びます。 - + ZipArchive::AFL_WANT_TORRENTZIP - + - + ZipArchive::AFL_CREATE_OR_KEEP_FILE_FOR_EMPTY_ARCHIVE - + @@ -45,9 +45,9 @@ value - + フラグの新しい値。 - + @@ -56,9 +56,9 @@ &reftitle.returnvalues; - + &return.success; - + diff --git a/reference/zip/ziparchive/setcommentindex.xml b/reference/zip/ziparchive/setcommentindex.xml index c0fa287c99..e82fecdefb 100644 --- a/reference/zip/ziparchive/setcommentindex.xml +++ b/reference/zip/ziparchive/setcommentindex.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ intindex stringcomment - + インデックスを使用して、エントリのコメントを設定します。 - + &reftitle.parameters; @@ -25,17 +25,17 @@ index - + エントリのインデックス。 - + comment - + コメントの内容。 - + @@ -43,9 +43,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/setcommentname.xml b/reference/zip/ziparchive/setcommentname.xml index f68cec5c44..829367b7b9 100644 --- a/reference/zip/ziparchive/setcommentname.xml +++ b/reference/zip/ziparchive/setcommentname.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ stringname stringcomment - + 名前を使用して、エントリのコメントを設定します。 - + &reftitle.parameters; @@ -25,17 +25,17 @@ name - + エントリの名前。 - + comment - + コメントの内容。 - + @@ -43,9 +43,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/setcompressionindex.xml b/reference/zip/ziparchive/setcompressionindex.xml index c50f593eb0..1c1b243a09 100644 --- a/reference/zip/ziparchive/setcompressionindex.xml +++ b/reference/zip/ziparchive/setcompressionindex.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ intmethod intcompflags0 - + インデックスで定義されたエントリの圧縮方法を設定します。 - + &reftitle.parameters; @@ -26,26 +26,26 @@ index - + エントリのインデックス - + method - + 圧縮メソッド。 ZipArchive::CM_* のいずれかです。 - + compflags - + 圧縮レベル。 - + @@ -53,9 +53,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/setcompressionname.xml b/reference/zip/ziparchive/setcompressionname.xml index 8e67b83e18..0978be53f5 100644 --- a/reference/zip/ziparchive/setcompressionname.xml +++ b/reference/zip/ziparchive/setcompressionname.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ intmethod intcompflags0 - + 名前で定義されたエントリの圧縮メソッドを設定します。 - + &reftitle.parameters; @@ -26,26 +26,26 @@ name - + エントリの名前 - + method - + 圧縮メソッド。 ZipArchive::CM_* のいずれかです。 - + compflags - + 圧縮レベル - + @@ -53,9 +53,9 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; diff --git a/reference/zip/ziparchive/setencryptionindex.xml b/reference/zip/ziparchive/setencryptionindex.xml index d5e3b6696f..d5d265d488 100644 --- a/reference/zip/ziparchive/setencryptionindex.xml +++ b/reference/zip/ziparchive/setencryptionindex.xml @@ -1,6 +1,6 @@ - + @@ -17,9 +17,9 @@ intmethod #[\SensitiveParameter]stringnullpassword&null; - + index で定義されたエントリの暗号化方法を設定します。 - + @@ -29,26 +29,26 @@ index - + エントリのインデックスです - + method - + ZipArchive::EM_ 定数のうちのひとつによって定義された暗号化方式 - + password - + オプションで指定するパスワード。 指定されない場合はデフォルトの値が使われます。 - + @@ -57,9 +57,9 @@ &reftitle.returnvalues; - + &return.success; - + @@ -87,9 +87,9 @@ &reftitle.notes; - + この関数は、libzip ≥ 1.2.0 でビルドされた場合にのみ利用可能です。 - + diff --git a/reference/zip/ziparchive/setencryptionname.xml b/reference/zip/ziparchive/setencryptionname.xml index 097cd5b9dc..0255ea65fc 100644 --- a/reference/zip/ziparchive/setencryptionname.xml +++ b/reference/zip/ziparchive/setencryptionname.xml @@ -1,6 +1,6 @@ - + @@ -16,9 +16,9 @@ intmethod #[\SensitiveParameter]stringnullpassword&null; - + 名前で定義されたエントリの暗号化方式を設定する - + &reftitle.parameters; @@ -27,26 +27,26 @@ name - + エントリの名前です - + method - + ZipArchive::EM_ 定数のうちのひとつによって定義された暗号化方式 - + password - + オプションで指定するパスワード。 指定されない場合はデフォルトの値が使われます。 - + @@ -54,9 +54,9 @@ &reftitle.returnvalues; - + &return.success; - + @@ -83,12 +83,12 @@ &reftitle.examples; - + この例は、ZIP ファイルアーカイブ test.zip を作成し、 AES 256ビット で暗号化した test.txt を追加します。 - + アーカイブを作成し、ファイルを暗号化する @@ -113,9 +113,9 @@ if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) { &reftitle.notes; - + この関数は、libzip ≥ 1.2.0 でビルドされた場合にのみ利用可能です。 - + diff --git a/reference/zip/ziparchive/setexternalattributesindex.xml b/reference/zip/ziparchive/setexternalattributesindex.xml index 452e98969e..580d8644d6 100644 --- a/reference/zip/ziparchive/setexternalattributesindex.xml +++ b/reference/zip/ziparchive/setexternalattributesindex.xml @@ -1,6 +1,6 @@ - + @@ -16,9 +16,9 @@ intattr intflags0 - + インデックスで定義されたエントリの外部属性を設定します。 - + &reftitle.parameters; @@ -27,35 +27,35 @@ index - + エントリのインデックス - + opsys - + ZipArchive::OPSYS_ 定数のうちのひとつで定義された、 オペレーティングシステムコード - + attr - + 外部属性。 値はオペレーティングシステム依存です。 - + flags - + オプションのフラグ。現在は使われていません。 - + @@ -63,9 +63,9 @@ &reftitle.returnvalues; - + &return.success; - + - + @@ -16,9 +16,9 @@ intattr intflags0 - + 名前で定義されたエントリの外部属性を設定します。 - + &reftitle.parameters; @@ -27,35 +27,35 @@ name - + エントリの名前 - + opsys - + ZipArchive::OPSYS_ 定数のうちのひとつで定義された、 オペレーティングシステムコード - + attr - + 外部属性。 値はオペレーティングシステム依存です。 - + flags - + オプションのフラグ。現在は使われていません。 - + @@ -63,16 +63,16 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; - + この例は、ZIPファイルアーカイブ test.zip を開き、 ファイル test.txt を 外部属性として Unix権限を付けて追加しています。 - + Unix権限付きでファイルをアーカイブする diff --git a/reference/zip/ziparchive/setmtimeindex.xml b/reference/zip/ziparchive/setmtimeindex.xml index 85b0f573a7..eefdfc6416 100644 --- a/reference/zip/ziparchive/setmtimeindex.xml +++ b/reference/zip/ziparchive/setmtimeindex.xml @@ -1,6 +1,6 @@ - + @@ -16,9 +16,9 @@ inttimestamp intflags0 - + インデックスを使用してエントリの変更時間を設定します。 - + &reftitle.parameters; @@ -27,25 +27,25 @@ index - + エントリのインデックス - + timestamp - + ファイルの変更時間(Unixタイムスタンプ) - + flags - + オプションで指定するフラグ。現在未使用です。 - + @@ -53,17 +53,17 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; - + この例は、php.zip というZIPファイルを生成し、 test.txt というファイルを変更日時と一緒に追加しています。 - + ファイルをアーカイブする @@ -87,9 +87,9 @@ if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) { &reftitle.notes; - + この関数は libzip ≥ 1.0.0 を使って PHP をビルドしたときのみ利用可能です。 - + diff --git a/reference/zip/ziparchive/setmtimename.xml b/reference/zip/ziparchive/setmtimename.xml index 8c8df827bf..6ea5468b8e 100644 --- a/reference/zip/ziparchive/setmtimename.xml +++ b/reference/zip/ziparchive/setmtimename.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ inttimestamp intflags0 - + 名前を使ってエントリの変更時間を設定します。 - + &reftitle.parameters; @@ -26,25 +26,25 @@ name - + エントリの名前 - + timestamp - + ファイルの変更時間(Unixタイムスタンプ) - + flags - + オプションで指定するフラグ。現在未使用です。 - + @@ -52,18 +52,18 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.examples; - + この例は、test.zip というファイル名の zipファイルを作成し、 test.txt というファイルを変更日時と一緒に追加しています。 - + ファイルをアーカイブする @@ -87,9 +87,9 @@ if ($zip->open('test.zip', ZipArchive::CREATE) === TRUE) { &reftitle.notes; - + この関数は libzip ≥ 1.0.0 を使って PHP をビルドしたときのみ利用可能です。 - + diff --git a/reference/zip/ziparchive/setpassword.xml b/reference/zip/ziparchive/setpassword.xml index 8bb3c02008..f319debf6b 100644 --- a/reference/zip/ziparchive/setpassword.xml +++ b/reference/zip/ziparchive/setpassword.xml @@ -1,6 +1,6 @@ - + @@ -15,9 +15,9 @@ public boolZipArchive::setPassword #[\SensitiveParameter]stringpassword - + アクティブなアーカイブにパスワードを設定します。 - + @@ -26,9 +26,9 @@ password - + アーカイブに使用されるパスワード。 - + @@ -36,22 +36,22 @@ &reftitle.returnvalues; - + &return.success; - + &reftitle.notes; - + PHP 7.2.0 と libzip 1.2.0 以降では、パスワードはアーカイブを解凍するのに使われます。 そして、ZipArchive::setEncryptionNameZipArchive::setEncryptionIndex のデフォルトのパスワードとしても使われます。 これより前のバージョンでは、この関数はアーカイブの解凍のみに使うパスワードを設定していました。 つまり、パスワードで保護されていない ZipArchive をパスワードで保護された ZipArchive に変換していませんでした。 - + diff --git a/reference/zip/ziparchive/statindex.xml b/reference/zip/ziparchive/statindex.xml index 7415f77e3a..c281bdff17 100644 --- a/reference/zip/ziparchive/statindex.xml +++ b/reference/zip/ziparchive/statindex.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ intindex intflags0 - + この関数は、インデックスを使用してエントリの詳細情報を取得します。 - + &reftitle.parameters; @@ -25,19 +25,19 @@ index - + エントリのインデックス。 - + flags - + ZipArchive::FL_UNCHANGED を OR で連結すると、 アーカイブ内に最初に記録された際の情報を取得します。 変更内容は無視されます。 - + @@ -45,9 +45,9 @@ &reftitle.returnvalues; - + エントリの詳細を含む配列を返します。&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/statname.xml b/reference/zip/ziparchive/statname.xml index 07a590402a..fffcf9732a 100644 --- a/reference/zip/ziparchive/statname.xml +++ b/reference/zip/ziparchive/statname.xml @@ -1,6 +1,6 @@ - + @@ -14,9 +14,9 @@ stringname intflags0 - + この関数は、名前を使用してエントリの詳細情報を取得します。 - + &reftitle.parameters; @@ -25,9 +25,9 @@ name - + エントリの名前。 - + @@ -40,19 +40,19 @@ 変更内容は無視されます。 - + ZipArchive::FL_NOCASE - + - + ZipArchive::FL_NODIR - + - + ZipArchive::FL_UNCHANGED - + @@ -63,9 +63,9 @@ &reftitle.returnvalues; - + エントリの詳細を含む配列を返します。&return.falseforfailure;。 - + &reftitle.examples; diff --git a/reference/zip/ziparchive/unchangeall.xml b/reference/zip/ziparchive/unchangeall.xml index 2775bff18c..f353fd3e69 100644 --- a/reference/zip/ziparchive/unchangeall.xml +++ b/reference/zip/ziparchive/unchangeall.xml @@ -1,6 +1,6 @@ - + @@ -13,9 +13,9 @@ public boolZipArchive::unchangeAll - + アーカイブに対するすべての変更を取り消します。 - + @@ -25,9 +25,9 @@ &reftitle.returnvalues; - + &return.success; - + - + @@ -13,10 +13,10 @@ public boolZipArchive::unchangeArchive - + アーカイブ全体に対して行われたすべての変更を取り消します。 現在は、これはアーカイブのコメントに対する変更のみを取り消します。 - + @@ -26,9 +26,9 @@ &reftitle.returnvalues; - + &return.success; - + - + @@ -13,9 +13,9 @@ public boolZipArchive::unchangeIndex intindex - + 指定したインデックスのエントリに対するすべての変更を取り消します。 - + &reftitle.parameters; @@ -24,9 +24,9 @@ index - + エントリのインデックス。 - + @@ -34,9 +34,9 @@ &reftitle.returnvalues; - + &return.success; - + - + @@ -13,9 +13,9 @@ public boolZipArchive::unchangeName stringname - + エントリに対するすべての変更を取り消します。 - + &reftitle.parameters; @@ -24,9 +24,9 @@ name - + エントリの名前。 - + @@ -34,9 +34,9 @@ &reftitle.returnvalues; - + &return.success; - +