diff --git a/appendices/migration84/constants.xml b/appendices/migration84/constants.xml index c149912748..c76582020b 100644 --- a/appendices/migration84/constants.xml +++ b/appendices/migration84/constants.xml @@ -1,6 +1,6 @@ - + 新しいグローバル定数 @@ -29,7 +29,7 @@ CURL_HTTP_VERSION_3ONLY - CURL_TCP_KEEPCNT + CURLOPT_TCP_KEEPCNT CURLOPT_PREREQFUNCTION diff --git a/appendices/migration85/new-classes.xml b/appendices/migration85/new-classes.xml index 9190ca7579..e18c3714cd 100644 --- a/appendices/migration85/new-classes.xml +++ b/appendices/migration85/new-classes.xml @@ -1,6 +1,6 @@ - + 新しいクラスとインターフェイス @@ -31,6 +31,13 @@ + + Intl + + IntlListFormatter + + + URI diff --git a/chapters/intro.xml b/chapters/intro.xml index d56016a0c7..80c40ad4c2 100644 --- a/chapters/intro.xml +++ b/chapters/intro.xml @@ -1,6 +1,6 @@ - + @@ -147,16 +147,12 @@ cURL あるいは ソケット を使う CouchDB のような例もあります。 - + PHP は、IMAP、SNMP、NNTP、POP3、HTTP、COM (Windowsのみ) やその他 数え切れない程多くのプロトコルを用いる他のサービスの状態を追跡する 機能もサポートしています。低レベルのネットワークソケットをオープンし、 - 他のプロトコルを用いて通信を行うことも可能です。また、PHPはWDDXを - サポートし、基本的に全てのウェブプログラミング言語間で複雑なデータ交換 - を行うことができます。相互接続機能としては、他にJavaオブジェクトの - インスタンスを作成してそれをPHPのオブジェクトとして透過的にアクセス - する機能があります。 - + 他のプロトコルを用いて通信を行うことも可能です。 + PHP には便利な テキスト処理 機能が用意されています。 Perl 互換の正規表現 (PCRE) や、 diff --git a/features/commandline.xml b/features/commandline.xml index e3e7460cc7..b47b435d31 100644 --- a/features/commandline.xml +++ b/features/commandline.xml @@ -1,12 +1,11 @@ - + PHP をコマンドラインから使用する コマンドラインの使用法 -
はじめに @@ -86,9 +85,7 @@
- - - +
他の <acronym>SAPI</acronym> との違い @@ -323,9 +320,7 @@ $ php -f another_directory/test.php
- - - +
コマンドラインオプション オプション @@ -1046,9 +1041,7 @@ date.sunrise_zenith => 90.583333 => 90.583333
- - - +
PHP ファイルの実行 PHP ファイルの実行 @@ -1341,9 +1334,7 @@ if ($argc != 2 || in_array($argv[1], array('--help', '-help', '-h', '-?'))) {
- - - +
入出力ストリーム I/O ストリーム @@ -1442,9 +1433,7 @@ php -r 'fwrite(STDERR, "stderr\n");'
- -
対話シェル @@ -1667,9 +1656,7 @@ php >
- -
ビルトインウェブサーバー @@ -1776,7 +1763,7 @@ php > サーバーを起動する前に欲しいワーカーの数を PHP_CLI_SERVER_WORKERS 環境変数に設定してください。 - この機能は Windows ではサポートされていません。 + 複数のワーカーは Windows ではサポートされていません。 @@ -1948,7 +1935,6 @@ $ php -S 0.0.0.0:8000
-
INI 設定 diff --git a/install/windows/commandline.xml b/install/windows/commandline.xml index 66b9b08cc1..d6d9b183d6 100644 --- a/install/windows/commandline.xml +++ b/install/windows/commandline.xml @@ -1,6 +1,6 @@ - + Windows で PHP をコマンドラインで動かす @@ -184,14 +184,10 @@ Windows Registry Editor Version 5.00 ]]> - この件に関する詳細な情報は Microsoft - Knowledgebase Article : 321788 を参照ください。 + この件に関する詳細な情報は Microsoft + Knowledgebase Article 321788 を参照ください。 Windows 10 ではこの設定が変更されたようです。Windows 10 をインストールしたデフォルトの状態で、 - コンソールのハンドルが自動的に引き継がれるようになります。この件に関しては、 - - Microsoft のフォーラムへの投稿 に説明があります。 + コンソールのハンドルが自動的に引き継がれるようになります。 diff --git a/language/types/relative-class-types.xml b/language/types/relative-class-types.xml index 15ffd29c3d..c4ef66d4cb 100644 --- a/language/types/relative-class-types.xml +++ b/language/types/relative-class-types.xml @@ -1,6 +1,6 @@ - + クラス内での関係を示す相対型 diff --git a/reference/curl/constants_curl_getinfo.xml b/reference/curl/constants_curl_getinfo.xml index 8896a33528..47cef2e37e 100644 --- a/reference/curl/constants_curl_getinfo.xml +++ b/reference/curl/constants_curl_getinfo.xml @@ -1,6 +1,6 @@ - + <function>curl_getinfo</function> @@ -116,6 +116,8 @@ ダウンロードしたコンテンツのサイズ。 Content-Length: サイズから読み取ります。 + cURL 7.55.0 以降は非推奨となっています。 + 代わりに CURLINFO_CONTENT_LENGTH_DOWNLOAD_T を使用してください。 @@ -140,7 +142,9 @@ - 指定されたアップロードサイズ + 指定されたアップロードサイズ。 + cURL 7.55.0 以降は非推奨となっています。 + 代わりに CURLINFO_CONTENT_LENGTH_UPLOAD_T を使用してください。 @@ -471,6 +475,8 @@ 直近の HTTP 接続で使用したプロトコル。 返される値は、CURLPROTO_* の値のうち、いずれか1つです。 PHP 7.3.0 以降 および cURL 7.52.0 以降で利用可能です。 + cURL 7.85.0 以降は非推奨となっています。 + 代わりに CURLINFO_SCHEME を使用してください。 @@ -703,7 +709,9 @@ - ダウンロードした合計バイト数 + ダウンロードした合計バイト数。 + cURL 7.55.0 以降は非推奨となっています。 + 代わりに CURLINFO_SIZE_DOWNLOAD_T を使用してください。 @@ -727,7 +735,9 @@ - アップロードした合計バイト数 + アップロードした合計バイト数。 + cURL 7.55.0 以降は非推奨となっています。 + 代わりに CURLINFO_SIZE_UPLOAD_T を使用してください。 @@ -750,7 +760,9 @@ - ダウンロード速度の平均 + ダウンロード速度の平均。 + cURL 7.55.0 以降は非推奨となっています。 + 代わりに CURLINFO_SPEED_DOWNLOAD_T を使用してください。 @@ -773,7 +785,9 @@ - アップロード速度の平均 + アップロード速度の平均。 + cURL 7.55.0 以降は非推奨となっています。 + 代わりに CURLINFO_SPEED_UPLOAD_T を使用してください。 diff --git a/reference/curl/constants_curl_setopt.xml b/reference/curl/constants_curl_setopt.xml index 9eb3c31f07..49ec5f0968 100644 --- a/reference/curl/constants_curl_setopt.xml +++ b/reference/curl/constants_curl_setopt.xml @@ -1,6 +1,6 @@ - + <function>curl_setopt</function> @@ -1510,7 +1510,7 @@ private が使われます。 このオプションを &null; に設定すると、FTP の Kerberos サポートが無効になります。 デフォルト値は &null; です。 - cURL 7.16.4 以降で利用可能です。 + cURL 7.16.4 以降で利用可能ですが、cURL 8.17.0 以降は非推奨となりました。 @@ -2241,13 +2241,13 @@ (int) - + CURLPROTO_* 値のビットマスクを指定します。 これが使われた場合、cURL が転送で使用できるプロトコルを制限します。 デフォルトは CURLPROTO_ALL で、cURL はサポートするすべてのプロトコルを受け入れます。 - CURLOPT_REDIR_PROTOCOLS も参照してください。 + CURLOPT_REDIR_PROTOCOLS_STR も参照してください。 cURL 7.19.4 以降で利用可能ですが、cURL 7.85.0 以降は非推奨となりました。 - + @@ -3650,12 +3650,13 @@ (int) - + &true; を指定すると TLS の False Start が有効になり、&false; を指定すると無効になります。 False Start モードは、TLS クライアントがサーバーの Finished メッセージを検証する前に アプリケーションデータの送信を開始するモードです。 PHP 7.0.7 以降かつ cURL 7.42.0 以降で利用可能です。 - + cURL 8.15.0 以降は非推奨となっています。 + diff --git a/reference/dom/dom/dom-document.xml b/reference/dom/dom/dom-document.xml index e36dd51f97..83bff9b10f 100644 --- a/reference/dom/dom/dom-document.xml +++ b/reference/dom/dom/dom-document.xml @@ -1,6 +1,6 @@ - + Dom\Document クラス Dom\Document @@ -105,6 +105,12 @@ int childElementCount + + public + readonly + Dom\HTMLCollection + children + public Dom\HTMLElementnull @@ -210,6 +216,11 @@ + + + + + body diff --git a/reference/dom/dom/dom-documentfragment.xml b/reference/dom/dom/dom-documentfragment.xml index bb6ee1ff95..a7d0190732 100644 --- a/reference/dom/dom/dom-documentfragment.xml +++ b/reference/dom/dom/dom-documentfragment.xml @@ -1,6 +1,6 @@ - + Dom\DocumentFragment クラス Dom\DocumentFragment @@ -61,6 +61,12 @@ int childElementCount + + public + readonly + Dom\HTMLCollection + children + &InheritedProperties; @@ -99,6 +105,11 @@ + + + + +
diff --git a/reference/dom/dom/dom-element.xml b/reference/dom/dom/dom-element.xml index dd47df039b..9525bbffb2 100644 --- a/reference/dom/dom/dom-element.xml +++ b/reference/dom/dom/dom-element.xml @@ -1,6 +1,6 @@ - + Dom\Element クラス Dom\Element @@ -122,11 +122,22 @@ Dom\Elementnull nextElementSibling + + public + readonly + Dom\HTMLCollection + children + public string innerHTML + + public + string + outerHTML + public string @@ -232,12 +243,26 @@ + + + + + innerHTML 要素の inner HTML (またはXML文書のXML) + + outerHTML + + + 要素自身を含む、要素の outer HTML (またはXML文書のXML)。 + PHP 8.5.0 以降で利用可能です。 + + + substitutedNodeValue diff --git a/reference/dom/dom/dom-parentnode.xml b/reference/dom/dom/dom-parentnode.xml index 85219776d7..f5ba1a4fac 100644 --- a/reference/dom/dom/dom-parentnode.xml +++ b/reference/dom/dom/dom-parentnode.xml @@ -1,6 +1,6 @@ - + Dom\ParentNode インターフェイス Dom\ParentNode @@ -23,6 +23,14 @@ Dom\ParentNode + &Properties; + + public + readonly + Dom\HTMLCollection + children + + &Methods; @@ -31,6 +39,21 @@ +
+ &reftitle.properties; + + + children + + + このノードのすべての子要素を含む + Dom\HTMLCollection。PHP 8.5.0 以降で利用可能です。 + + + + +
+ &reference.dom.dom.entities.parentnode; diff --git a/reference/intl/book.xml b/reference/intl/book.xml index b8150a5004..5c2cfd4f16 100644 --- a/reference/intl/book.xml +++ b/reference/intl/book.xml @@ -1,6 +1,6 @@ - + @@ -10,27 +10,27 @@ &reftitle.intro; - + 国際化用拡張モジュール (これ以降では Intl と略します) は ICU ライブラリのラッパーです。 PHP プログラマが、ロケール関連のさまざまな操作を行えるようにします。 フォーマット、音訳、エンコード変換、カレンダーの処理、 UCA 準拠の照合順序 (collation)、 テキストの区切り、ロケール識別子やタイムゾーンや書記素を用いた操作などが可能です。 - + - + ICU の API に従って作成されているので、 C/C++ や Java で ICU を使ったことがあるかたは簡単に PHP の API も使えることでしょう。 また、ICU のドキュメントを参考にすればさまざまな ICU の関数について知ることができます。 - + - + Intl はいくつかのモジュールで構成されており、 各モジュールが対応する ICU API を公開しています。 - + @@ -90,13 +90,13 @@ リンク - ICU のドキュメント + ICU のドキュメント - ICU ユーザーガイド + ICU ユーザーガイド - Unicode Collation Algorithm + Unicode Collation Algorithm @@ -125,6 +125,7 @@ &reference.intl.intlrulebasedbreakiterator; &reference.intl.intlcodepointbreakiterator; &reference.intl.intldatepatterngenerator; + &reference.intl.intllistformatter; &reference.intl.intlpartsiterator; &reference.intl.uconverter; diff --git a/reference/intl/grapheme/grapheme-strripos.xml b/reference/intl/grapheme/grapheme-strripos.xml index 14c73d9fac..a0276d58cc 100644 --- a/reference/intl/grapheme/grapheme-strripos.xml +++ b/reference/intl/grapheme/grapheme-strripos.xml @@ -1,6 +1,6 @@ - + grapheme_strripos @@ -50,6 +50,15 @@ offset の値にかかわらず、返される値は常に haystack の先頭からの位置になります。
+ + オプションの offset パラメータで、haystack + のどの位置 (バイト数や文字数ではなく、書記素単位) から探し始めるのかを指定します。 + offset が負の場合は、文字列の末尾からの相対位置として扱われます。 + offset の値にかかわらず、返される値は常に haystack + の先頭からの位置になります。 + 検索は右から左に行われ、検索を開始した書記素クラスターから + needle が最初にあらわれる場所を探します。 + diff --git a/reference/intl/grapheme/grapheme-strrpos.xml b/reference/intl/grapheme/grapheme-strrpos.xml index 50a0c93dcd..4470f881d7 100644 --- a/reference/intl/grapheme/grapheme-strrpos.xml +++ b/reference/intl/grapheme/grapheme-strrpos.xml @@ -1,6 +1,6 @@ - + grapheme_strrpos @@ -50,6 +50,15 @@ offset の値にかかわらず、返される値は常に haystack の先頭からの位置になります。 + + オプションの offset パラメータで、haystack + のどの位置 (バイト数や文字数ではなく、書記素単位) から探し始めるのかを指定します。 + offset が負の場合は、文字列の末尾からの相対位置として扱われます。 + offset の値にかかわらず、返される値は常に haystack + の先頭からの位置になります。 + 検索は右から左に行われ、検索を開始した書記素クラスターから + needle が最初にあらわれる場所を探します。 + diff --git a/reference/intl/intlbreakiterator/getpartsiterator.xml b/reference/intl/intlbreakiterator/getpartsiterator.xml index c966af7ca1..19697786b9 100644 --- a/reference/intl/intlbreakiterator/getpartsiterator.xml +++ b/reference/intl/intlbreakiterator/getpartsiterator.xml @@ -1,6 +1,6 @@ - + @@ -12,7 +12,7 @@ &reftitle.description; public IntlPartsIteratorIntlBreakIterator::getPartsIterator - stringtypeIntlPartsIterator::KEY_SEQUENTIAL + inttypeIntlPartsIterator::KEY_SEQUENTIAL diff --git a/reference/intl/intllistformatter.xml b/reference/intl/intllistformatter.xml new file mode 100644 index 0000000000..b5f244a3f2 --- /dev/null +++ b/reference/intl/intllistformatter.xml @@ -0,0 +1,179 @@ + + + + + IntlListFormatter クラス + IntlListFormatter + + + + +
+ &reftitle.intro; + + ロケール固有のルールに従って、項目のリストのフォーマット、順序付け、句読点の付与を行います。 + ICU 67 以降が必要です。 + +
+ + +
+ &reftitle.classsynopsis; + + + + + IntlListFormatter + + + &Constants; + + public + const + int + IntlListFormatter::TYPE_AND + + + public + const + int + IntlListFormatter::TYPE_OR + + + public + const + int + IntlListFormatter::TYPE_UNITS + + + public + const + int + IntlListFormatter::WIDTH_WIDE + + + public + const + int + IntlListFormatter::WIDTH_SHORT + + + public + const + int + IntlListFormatter::WIDTH_NARROW + + + &Methods; + + + + + + + + + +
+ +
+ &reftitle.constants; + + + IntlListFormatter::TYPE_AND + + + 「and」にあたる接続詞を使ってリストをフォーマットします (例: "A, B, and C")。 + + + + + IntlListFormatter::TYPE_OR + + + 「or」にあたる接続詞を使ってリストをフォーマットします (例: "A, B, or C")。 + + + + + IntlListFormatter::TYPE_UNITS + + + 単位のリストをフォーマットします (例: "3 ft, 7 in")。 + + + + + IntlListFormatter::WIDTH_WIDE + + + 最も幅の広い (最も冗長な) リスト形式を使用します。通常、接続詞は省略されずに完全な形で表記されます。 + + + + + IntlListFormatter::WIDTH_SHORT + + + 短いリスト形式を使用します。通常は省略形が使われます。 + + + + + IntlListFormatter::WIDTH_NARROW + + + 最も幅の狭いリスト形式を使用します。句読点は最小限になります。 + + + + +
+ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + このクラスが追加されました。 + + + + + +
+ +
+ + &reference.intl.entities.intllistformatter; + +
+ diff --git a/reference/intl/intllistformatter/construct.xml b/reference/intl/intllistformatter/construct.xml new file mode 100644 index 0000000000..5ff7f3f572 --- /dev/null +++ b/reference/intl/intllistformatter/construct.xml @@ -0,0 +1,116 @@ + + + + + + IntlListFormatter::__construct + 新しい IntlListFormatter のインスタンスを作成する + + + + &reftitle.description; + + public IntlListFormatter::__construct + stringlocale + inttypeIntlListFormatter::TYPE_AND + intwidthIntlListFormatter::WIDTH_WIDE + + + 指定したロケール用の新しい IntlListFormatter のインスタンスを作成します。 + + + + + &reftitle.parameters; + + + locale + + + フォーマットに使用するロケール。 + + + + + type + + + リストの種類。IntlListFormatter::TYPE_* 定数 + (IntlListFormatter::TYPE_AND, + IntlListFormatter::TYPE_OR, + IntlListFormatter::TYPE_UNITS) のいずれかです。 + + + + + width + + + リストの幅。IntlListFormatter::WIDTH_* 定数 + (IntlListFormatter::WIDTH_WIDE, + IntlListFormatter::WIDTH_SHORT, + IntlListFormatter::WIDTH_NARROW) のいずれかです。 + + + + + + + + &reftitle.errors; + + フォーマッタを作成できない場合 (ロケールが不正な場合や、ICU のバージョンが 67 未満の場合など)、 + IntlException をスローします。 + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + このクラスが追加されました。 + + + + + + + + + &reftitle.seealso; + + IntlListFormatter::format + + + + + diff --git a/reference/intl/intllistformatter/format.xml b/reference/intl/intllistformatter/format.xml new file mode 100644 index 0000000000..cee7d4e6bc --- /dev/null +++ b/reference/intl/intllistformatter/format.xml @@ -0,0 +1,89 @@ + + + + + + IntlListFormatter::format + 項目のリストをフォーマットする + + + + &reftitle.description; + + public stringfalseIntlListFormatter::format + arraylist + + + 項目のリストを、ロケールに応じた文字列にフォーマットします。 + + + + + &reftitle.parameters; + + + list + + + リストとしてフォーマットする文字列の配列。 + + + + + + + + &reftitle.returnvalues; + + フォーマットしたリストを文字列で返します。失敗した場合は &false; を返します。 + + + + + &reftitle.examples; + + <methodname>IntlListFormatter::format</methodname> の例 + +format(['one', 'two', 'three']); +// one, two, and three + +$fmt = new IntlListFormatter('en_US', IntlListFormatter::TYPE_OR, IntlListFormatter::WIDTH_WIDE); +echo $fmt->format(['one', 'two', 'three']); +// one, two, or three +?> +]]> + + + + + + &reftitle.seealso; + + IntlListFormatter::__construct + + + + + diff --git a/reference/intl/locale/isrighttoleft.xml b/reference/intl/locale/isrighttoleft.xml index 82d78a4e41..476321040a 100644 --- a/reference/intl/locale/isrighttoleft.xml +++ b/reference/intl/locale/isrighttoleft.xml @@ -1,17 +1,21 @@ - + Locale::isRightToLeft + locale_is_right_to_left ロケールが右から左に書く文字体系を使うかどうかを調べる &reftitle.description; + + &style.oop; + public static @@ -22,6 +26,13 @@ "" + + &style.procedural; + + + boollocale_is_right_to_left + stringlocale"" + ロケールが右から左に書く文字体系を使うかどうかを調べます。 @@ -31,10 +42,6 @@ このメソッドは ICU ライブラリに依存しており、 ロケールに関連付けられた主要な文字体系を評価します。 - - - 空文字列が指定された場合、デフォルトのロケールが使用されます。 - diff --git a/reference/ldap/constants.xml b/reference/ldap/constants.xml index 4e74829c9f..842a0c8139 100644 --- a/reference/ldap/constants.xml +++ b/reference/ldap/constants.xml @@ -1,6 +1,6 @@ - + &reftitle.constants; @@ -577,7 +577,7 @@ - コントロール定数 - Assertion (RFC 4528). + コントロール定数 - Assertion (RFC 4528). PHP 7.3.0 以降で利用可能です。 diff --git a/reference/ldap/functions/ldap-count-entries.xml b/reference/ldap/functions/ldap-count-entries.xml index 5d56fb4fb3..f6d56806cb 100644 --- a/reference/ldap/functions/ldap-count-entries.xml +++ b/reference/ldap/functions/ldap-count-entries.xml @@ -1,6 +1,6 @@ - + ldap_count_entries @@ -45,10 +45,10 @@ &reftitle.returnvalues; - + 結果のエントリ数を返します。 - &return.falseforfailure; - + エラーの場合は -1 を返します。 + diff --git a/reference/ldap/functions/ldap-exop.xml b/reference/ldap/functions/ldap-exop.xml index bc0b84089f..ad4d6dec0e 100644 --- a/reference/ldap/functions/ldap-exop.xml +++ b/reference/ldap/functions/ldap-exop.xml @@ -1,6 +1,6 @@ - + @@ -11,11 +11,11 @@ &reftitle.description; - mixedldap_exop + LDAP\Resultboolldap_exop LDAP\Connectionldap stringrequest_oid - stringrequest_data&null; - arraycontrols&null; + stringnullrequest_data&null; + arraynullcontrols&null; stringresponse_data stringresponse_oid diff --git a/reference/libxml/constants.xml b/reference/libxml/constants.xml index 90600f048d..e7e311e660 100755 --- a/reference/libxml/constants.xml +++ b/reference/libxml/constants.xml @@ -1,6 +1,6 @@ - + &reftitle.constants; @@ -275,11 +275,19 @@ - パーサーでハードコーディングされたすべての制限を緩和するための + パーサーでハードコーディングされた一部の制限を引き上げるための XML_PARSE_HUGE フラグを設定する。 - これは、ドキュメントやエンティティの再帰の最大数や - テキストノードのサイズなどの制限に影響する。 + これは、ドキュメントの最大の深さやエンティティの再帰、 + そしてテキストノードのサイズなどの制限に影響する。 + + + これはハードコーディングされた制限を引き上げるため、信頼できるデータに対してのみ使用すべきです。 + 信頼できない入力に対して深さの制限を引き上げると、 + 深くネストされたドキュメントの処理中にスタックオーバーフローが発生するなど、 + リソースを過度に消費する可能性があります。 + + Libxml >= 2.7.0 (PHP >= 5.3.2 あるいは PHP >= 5.2.12) でのみ有効 diff --git a/reference/pcntl/functions/pcntl-setcpuaffinity.xml b/reference/pcntl/functions/pcntl-setcpuaffinity.xml index ec53e0ef26..a16c664ac0 100644 --- a/reference/pcntl/functions/pcntl-setcpuaffinity.xml +++ b/reference/pcntl/functions/pcntl-setcpuaffinity.xml @@ -1,6 +1,6 @@ - + pcntl_setcpuaffinity @@ -47,7 +47,6 @@ &return.success; - &return.falseproblem; diff --git a/reference/pdo/pdo/getattribute.xml b/reference/pdo/pdo/getattribute.xml index 53e8a7c7a2..ddaf4e45e5 100644 --- a/reference/pdo/pdo/getattribute.xml +++ b/reference/pdo/pdo/getattribute.xml @@ -1,6 +1,6 @@ - + @@ -85,6 +85,29 @@
+ + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.4.0 + + PDO::ATTR_STRINGIFY_FETCHES 属性の値を + 取得できるようになりました。 + + + + + + + &reftitle.examples; diff --git a/reference/pgsql/functions/pg-fetch-result.xml b/reference/pgsql/functions/pg-fetch-result.xml index 9f7aace2ee..4d443462f8 100644 --- a/reference/pgsql/functions/pg-fetch-result.xml +++ b/reference/pgsql/functions/pg-fetch-result.xml @@ -1,7 +1,7 @@ - + @@ -92,6 +92,15 @@ + + 8.4.0 + + pg_fetch_result の 2 引数のシグネチャ + (result, field)は非推奨となりました。 + 代わりに row を &null; に設定した 3 引数のシグネチャを + 使用してください。 + + 8.3.0 diff --git a/reference/pgsql/functions/pg-field-is-null.xml b/reference/pgsql/functions/pg-field-is-null.xml index b448aa25c3..529e89750b 100644 --- a/reference/pgsql/functions/pg-field-is-null.xml +++ b/reference/pgsql/functions/pg-field-is-null.xml @@ -1,7 +1,7 @@ - + @@ -87,6 +87,15 @@ + + 8.4.0 + + pg_field_is_null の 2 引数のシグネチャ + (result, field)は非推奨となりました。 + 代わりに row を &null; に設定した 3 引数のシグネチャを + 使用してください。 + + 8.3.0 diff --git a/reference/pgsql/functions/pg-field-prtlen.xml b/reference/pgsql/functions/pg-field-prtlen.xml index 51b469a448..98ade6958c 100644 --- a/reference/pgsql/functions/pg-field-prtlen.xml +++ b/reference/pgsql/functions/pg-field-prtlen.xml @@ -1,7 +1,7 @@ - + @@ -85,6 +85,16 @@ + + 8.4.0 + + pg_field_prtlen の 2 引数のシグネチャ + (result, + field_name_or_number)は非推奨となりました。 + 代わりに row を &null; に設定した 3 引数のシグネチャを + 使用してください。 + + 8.3.0 diff --git a/reference/reflection/reflectionconstant/getattributes.xml b/reference/reflection/reflectionconstant/getattributes.xml new file mode 100644 index 0000000000..e740959aa2 --- /dev/null +++ b/reference/reflection/reflectionconstant/getattributes.xml @@ -0,0 +1,133 @@ + + + + + + ReflectionConstant::getAttributes + アトリビュートを取得する + + + + &reftitle.description; + + public arrayReflectionConstant::getAttributes + stringnullname&null; + intflags0 + + + このグローバル定数で宣言されている全てのアトリビュートを + ReflectionAttribute の配列として返します。 + + + + + &reftitle.parameters; + + &reflection.getattributes.param.name; + &reflection.getattributes.param.flags; + + + + + &reftitle.returnvalues; + + アトリビュートの配列を、 + ReflectionAttribute オブジェクトの配列として返します。 + + + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 8.5.0 + + このメソッドが追加されました。 + + + + + + + + + + &reftitle.examples; + + + 基本的な使い方 + +getAttributes(); +print_r(array_map(fn($attribute) => $attribute->getName(), $attributes)); +?> +]]> + + &example.outputs; + + Fruit + [1] => Red +) +]]> + + + + + + + &reftitle.seealso; + + ReflectionClass::getAttributes + ReflectionClassConstant::getAttributes + ReflectionFunctionAbstract::getAttributes + ReflectionProperty::getAttributes + + + + + diff --git a/reference/reflection/reflectionproperty/getmangledname.xml b/reference/reflection/reflectionproperty/getmangledname.xml new file mode 100644 index 0000000000..f6ea179ad6 --- /dev/null +++ b/reference/reflection/reflectionproperty/getmangledname.xml @@ -0,0 +1,92 @@ + + + + + + ReflectionProperty::getMangledName + プロパティのマングリングされた名前を取得する + + + + &reftitle.description; + + public stringReflectionProperty::getMangledName + + + + プロパティのマングリングされた名前(内部的な名前)を返します。 + private および protected プロパティの場合、 + この名前にはアクセス権のスコープが埋め込まれています。 + + + public プロパティの場合、マングリングされた名前はプロパティ名と同一です。 + protected プロパティの場合、マングリングされた名前は + \0*\0name という形式になります。 + private プロパティの場合、マングリングされた名前は + \0ClassName\0name + という形式になります。 + + + + + &reftitle.parameters; + &no.function.parameters; + + + + &reftitle.returnvalues; + + 調べているプロパティのマングリングされた名前を返します。 + + + + + &reftitle.changelog; + + + + + &Version; + &Description; + + + + + 8.5.0 + + このメソッドが追加されました。 + + + + + + + + + &reftitle.seealso; + + ReflectionProperty::getName + + + + + diff --git a/reference/reflection/reflectionzendextension.xml b/reference/reflection/reflectionzendextension.xml index ee885cb2f7..077db157d5 100644 --- a/reference/reflection/reflectionzendextension.xml +++ b/reference/reflection/reflectionzendextension.xml @@ -1,6 +1,6 @@ - + ReflectionZendExtension クラス @@ -11,9 +11,10 @@
&reftitle.intro; - - - + + ReflectionZendExtension クラスは + Zend 拡張モジュールについての情報を報告します。 +
diff --git a/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-encrypt.xml b/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-encrypt.xml index 1a6ac45f73..741f479f9f 100644 --- a/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-encrypt.xml +++ b/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-encrypt.xml @@ -1,6 +1,6 @@ - + sodium_crypto_aead_chacha20poly1305_encrypt @@ -68,9 +68,8 @@ &reftitle.returnvalues; - 成功時には、暗号化されたテキストと、 - 認証タグを返します。 - &return.falseforfailure;. + 暗号化されたテキストと、 + 認証タグを生のバイナリのバイト列に含めた文字列を返します。 diff --git a/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-ietf-encrypt.xml b/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-ietf-encrypt.xml index faa0f0a28b..2671d3a9c9 100644 --- a/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-ietf-encrypt.xml +++ b/reference/sodium/functions/sodium-crypto-aead-chacha20poly1305-ietf-encrypt.xml @@ -1,6 +1,6 @@ - + sodium_crypto_aead_chacha20poly1305_ietf_encrypt @@ -73,9 +73,8 @@ &reftitle.returnvalues; - 成功時には、 - 暗号化されたテキストと認証タグを返します。 - &return.falseforfailure;. + 暗号化されたテキストと、 + 認証タグを生のバイナリのバイト列に含めた文字列を返します。 diff --git a/reference/sodium/functions/sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.xml b/reference/sodium/functions/sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.xml index 1626828f24..ddb0ef6c3f 100644 --- a/reference/sodium/functions/sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.xml +++ b/reference/sodium/functions/sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.xml @@ -1,6 +1,6 @@ - + sodium_crypto_aead_xchacha20poly1305_ietf_encrypt @@ -76,8 +76,8 @@ &reftitle.returnvalues; - 成功時に、暗号化されたテキストとタグを返します。 - &return.falseforfailure;. + 暗号化されたテキストと、 + 認証タグを生のバイナリのバイト列に含めた文字列を返します。 diff --git a/reference/sodium/functions/sodium-crypto-stream-xchacha20-xor-ic.xml b/reference/sodium/functions/sodium-crypto-stream-xchacha20-xor-ic.xml index bf165f6c4e..dc93b1bba9 100644 --- a/reference/sodium/functions/sodium-crypto-stream-xchacha20-xor-ic.xml +++ b/reference/sodium/functions/sodium-crypto-stream-xchacha20-xor-ic.xml @@ -1,6 +1,6 @@ - + sodium_crypto_stream_xchacha20_xor_ic @@ -78,7 +78,6 @@ &reftitle.returnvalues; 暗号化されたメッセージを返します。 - &return.falseforfailure;