diff --git a/README_Glossary.md b/README_Glossary.md index 7df983eed6..169df6f4b1 100644 --- a/README_Glossary.md +++ b/README_Glossary.md @@ -3,6 +3,8 @@ ここには、PHP マニュアル 日本語版で「統一した」訳語を当てている単語を記録しています。 以下の単語の訳がブレていたら、issue または Pull Request で報告してください。 +機械的に検出できる訳語・表記(長音の有無など)は [build/prh.yml](build/prh.yml) で管理しており、CI(Textlint)で検出されます。 + - visibility * 「アクセス権」で統一 * protected/private/public を付けた、メソッドやプロパティが可視な範囲のこと @@ -18,18 +20,9 @@ - strict モードの対比の文脈で、coercive を「強制する」と訳さない - language construct * 言語構造 -- unserialize - * アンシリアライズ ( [#21](https://github.com/php/doc-ja/issues/21) ) - - 「デシリアライズ」や「アンマーシャリング」にはしない - nullable * nullable のままにする。訳さない。 - null を受け入れる何か、という意味だが、PHP マニュアル日本語版では「訳さない」で統一。 -- serialize - * シリアライズ / シリアル化 - - 「マーシャリング」にはしないこと -- メソッドや変数に付ける static - * static メソッド / static 変数 とする ( [#45](https://github.com/php/doc-ja/issues/45 ), [#46](https://github.com/php/doc-ja/issues/46) ) - - 静的変数や静的メソッドなどとはしない - numeric string * 数値形式の文字列 - preload @@ -41,14 +34,6 @@ * 移行ガイドの文脈での Standard は「標準ライブラリ」で統一する - php-src で言うところの ext/standard に入っている関数全てを指す - Standard PHP Librady (SPL) は別にあるが、「標準ライブラリ」でいいことにする -- WHATWG URL Standard - * 「WHATWG URL Standard」(原語のまま)で統一 - - ext/uri などで言及される、URL 仕様の固有名詞 - - 「WHATWG URL 標準」とはしない -- throw Exception - * 例外をスローする - - 例外を「投げる」とはしない - - Throwable を throw するという文脈ではすべてこれに統一する - parameters / arguments * パラメータ / 引数 - 以下の2つは明示的に区別されるべきである @@ -66,11 +51,3 @@ test([1234]); * 「オーバーライド」で統一 ( [#26](https://github.com/php/doc-ja/issues/26) ) - 継承の文脈(メソッド、プロパティ、定数の再定義)では「上書き」を使わない - 「上書き」はファイルや設定値、配列の値を書き換える文脈 (overwrite) でのみ使う -- fatal error - * 致命的なエラー ( [#321](https://github.com/php/doc-ja/issues/321) ) - - 「fatal エラー」としない -- parser - * 「パーサー」と伸ばす。「パーサ」としない ( [#310](https://github.com/php/doc-ja/issues/310) ) - - server と同様、末尾の長音記号を付ける -- server - * 「サーバー」と伸ばす。「サーバ」としない ( [#69](https://github.com/php/doc-ja/issues/69) ) diff --git a/appendices/migration70/incompatible/error-handling.xml b/appendices/migration70/incompatible/error-handling.xml index aa79a05284..08080f4374 100644 --- a/appendices/migration70/incompatible/error-handling.xml +++ b/appendices/migration70/incompatible/error-handling.xml @@ -6,7 +6,7 @@ エラーや例外の取り扱いの変更 - fatal error や recoverable fatal error の多くが、PHP 7 では例外に変換されるようになりました。 + 致命的なエラーや回復可能な致命的なエラーの多くが、PHP 7 では例外に変換されるようになりました。 これらの例外は Error クラスを継承したもので、 このクラスは Throwable インターフェイスを実装しています。 この新しいインターフェイスを、すべての例外が実装しています。 diff --git a/appendices/migration70/incompatible/other.xml b/appendices/migration70/incompatible/other.xml index 236ff2e7b3..a0340add29 100644 --- a/appendices/migration70/incompatible/other.xml +++ b/appendices/migration70/incompatible/other.xml @@ -343,7 +343,7 @@ switch (1) { カスタムセッションハンドラとして実装した関数が - &false; あるいは -1 を返すとき、fatal error が発生します。 + &false; あるいは -1 を返すとき、致命的なエラーが発生します。 この関数が boolean 値か -1, あるいは 0 以外を返す場合は、その関数は失敗して E_WARNING が発生します。 diff --git a/appendices/migration70/incompatible/strings.xml b/appendices/migration70/incompatible/strings.xml index 2fed5a77d5..1a78af0300 100644 --- a/appendices/migration70/incompatible/strings.xml +++ b/appendices/migration70/incompatible/strings.xml @@ -74,7 +74,7 @@ var_dump($int); // int(65535) Unicode コードポイントのエスケープ構文 が導入されたことにより、\u{ のあとに無効なシーケンスが続く文字列が - fatal error となる可能性があります。 + 致命的なエラーとなる可能性があります。 これを回避するには、先頭のバックスラッシュをエスケープする必要があります。 diff --git a/appendices/migration71/incompatible.xml b/appendices/migration71/incompatible.xml index b087a6996e..cffc57b280 100644 --- a/appendices/migration71/incompatible.xml +++ b/appendices/migration71/incompatible.xml @@ -421,7 +421,7 @@ new DateTime() == new DateTime(); DBA 拡張モジュールでは、 (dba_insert のように) データを変更する関数は、キーが正確にふたつの要素を含んでいない場合に - キャッチ可能な fatal error ではなく、 + キャッチ可能な致命的なエラーではなく、 Error 例外をスローするようになりました。 @@ -448,7 +448,7 @@ new DateTime() == new DateTime(); Intl 拡張モジュールでは、 Collator クラスを継承したクラスで、 親メソッドを呼ぶ前に親のコンストラクタを呼ぶのに失敗すると、 - 回復可能な fatal error にはならず、 + 回復可能な致命的なエラーにはならず、 Error 例外をスローするようになりました。 同様に、Transliterator を clone すると、 @@ -527,7 +527,7 @@ new DateTime() == new DateTime(); standard 拡張モジュールでは、 assert関数 の - 最初のパラメーターに string 型の引数が与えられた場合、 + 最初のパラメータに string 型の引数が与えられた場合、 かつ PHP のコードが不正だった場合に キャッチ可能な致命的なエラーではなく、 ParseError 例外をスローするようになりました。 diff --git a/appendices/migration74/deprecated.xml b/appendices/migration74/deprecated.xml index 6210b2b442..2b3c70aded 100644 --- a/appendices/migration74/deprecated.xml +++ b/appendices/migration74/deprecated.xml @@ -209,8 +209,8 @@ mb_strrpos - 関数に、3番目のパラメーターとしてエンコーディングを渡すのは推奨されません。代わりに - 0から始まるオフセットを渡すか、4番目のパラメーターとしてエンコーディングを渡すようにします。 + 関数に、3番目のパラメータとしてエンコーディングを渡すのは推奨されません。代わりに + 0から始まるオフセットを渡すか、4番目のパラメータとしてエンコーディングを渡すようにします。 diff --git a/appendices/migration85/new-features.xml b/appendices/migration85/new-features.xml index 7c03f151a5..0752099bc9 100644 --- a/appendices/migration85/new-features.xml +++ b/appendices/migration85/new-features.xml @@ -38,7 +38,7 @@ print $result . PHP_EOL; // Prints "11" アトリビュートの引数 - プロパティやパラメーターのデフォルト値 + プロパティやパラメータのデフォルト値 定数および、クラス定数 @@ -292,7 +292,7 @@ print T1 . PHP_EOL; // Prints "0" リクエストが送信される前に libcurl の接続キューで待機した時間(マイクロ秒単位)を取得できます。 curl_getinfo の option - パラメーターに CURLINFO_QUEUE_TIME_T + パラメータに CURLINFO_QUEUE_TIME_T を渡すことで、値が取得できます。 diff --git a/build/prh.yml b/build/prh.yml index 9690915d3e..def5fe2432 100644 --- a/build/prh.yml +++ b/build/prh.yml @@ -4,8 +4,10 @@ rules: pattern: - デシリアライズ - アンマーシャリング + - expected: シリアライズ pattern: マーシャリング + - expected: static $1 pattern: /静的な?(変数|メソッド|プロパティ)/ specs: @@ -17,6 +19,7 @@ rules: to: static プロパティ - from: 遅延静的束縛 to: 遅延静的束縛 + - expected: $1スローする pattern: /((?:例外|Exception|Error|Throwable) ?を)投げる/ specs: @@ -26,6 +29,7 @@ rules: to: Exceptionをスローする - from: TypeError を投げる to: TypeError をスローする + - expected: $1スローし$2 pattern: /((?:例外|Exception|Error|Throwable) ?を)投げ(て|た|ま[しすせ])/ specs: @@ -35,6 +39,7 @@ rules: to: Exceptionをスローして - from: TypeError を投げた to: TypeError をスローした + - expected: $1スローされ pattern: /((?:例外|Exception|Error|Throwable) ?が)投げられ/ specs: @@ -44,6 +49,7 @@ rules: to: Exceptionがスローされます - from: TypeError が投げられた to: TypeError がスローされた + - expected: サーバー pattern: /サーバ(?!ー)/ specs: @@ -51,6 +57,7 @@ rules: to: サーバー - from: サーバー to: サーバー + - expected: オーバーライド pattern: /オーバ(?!ー)ライド/ specs: @@ -58,15 +65,71 @@ rules: to: オーバーライド - from: オーバーライド to: オーバーライド + - expected: WHATWG URL Standard pattern: WHATWG URL 標準 + prh: URL 仕様の固有名詞なので原語のままにする specs: - from: WHATWG URL 標準 to: WHATWG URL Standard - from: WHATWG URL Standard to: WHATWG URL Standard + - expected: ファイルディスクリプタ pattern: ファイル記述子 specs: - from: ファイル記述子 to: ファイルディスクリプタ + + - expected: パラメータ + pattern: パラメーター + prh: 既存の訳文の多数派に合わせて長音を付けない + specs: + - from: パラメーター + to: パラメータ + + - expected: パーサー + pattern: /パーサ(?!ー)/ + prh: 「サーバー」に合わせて長音を付ける + specs: + - from: パーサ + to: パーサー + - from: パーサー + to: パーサー + + - expected: イテレータ + pattern: イテレーター + prh: 既存の訳文の多数派に合わせて長音を付けない + specs: + - from: イテレーター + to: イテレータ + + - expected: ジェネレータ + pattern: ジェネレーター + prh: 既存の訳文の多数派に合わせて長音を付けない + specs: + - from: ジェネレーター + to: ジェネレータ + + - expected: 致命的なエラー + pattern: /[Ff]atal ?エラー/ + specs: + - from: fatal エラー + to: 致命的なエラー + - from: Fatalエラー + to: 致命的なエラー + + - expected: 致命的なエラー + pattern: /[Ff]atal error(?= ?[ぁ-んァ-ヶー一-龠々、。])/ + prh: 日本語の文中の fatal error を検出している。PHP の出力やコード中の英語はそのままにする + specs: + - from: fatal error が発生します + to: 致命的なエラー が発生します + - from: キャッチ可能な fatal error ではなく + to: キャッチ可能な 致命的なエラー ではなく + - from: "Fatal error: Uncaught Error" + to: "Fatal error: Uncaught Error" + - from: a fatal error has occurred + to: a fatal error has occurred + - from: 致命的なエラー (fatal error) + to: 致命的なエラー (fatal error) diff --git a/language/errors/php7.xml b/language/errors/php7.xml index 1e0d2439d4..259b14daf8 100644 --- a/language/errors/php7.xml +++ b/language/errors/php7.xml @@ -19,7 +19,7 @@ ブロックで現れます。 マッチするブロックがなければ、set_exception_handler で設定したデフォルトの例外ハンドラが呼ばれます。 - デフォルトの例外ハンドラもない場合は、例外が fatal error に変換されて、 + デフォルトの例外ハンドラもない場合は、例外が致命的なエラーに変換されて、 これまでのバージョンのエラーと同じように扱われます。 diff --git a/language/exceptions.xml b/language/exceptions.xml index ba5d9a0544..89b926337f 100644 --- a/language/exceptions.xml +++ b/language/exceptions.xml @@ -23,14 +23,14 @@ その途中で見つかった全ての &finally; ブロックが実行されます。 グローバルスコープに遡るまで全てのコールスタックを探しても、 マッチする &catch; ブロックが見つからない場合は、 - グローバルな例外ハンドラが設定されていない限り fatal error となり、 + グローバルな例外ハンドラが設定されていない限り致命的なエラーとなり、 プログラムが終了します。 スローされるオブジェクトは、 &instanceof; Throwable でなければなりません。 それ以外のオブジェクトをスローしようとすると - PHP の fatal error が発生します。 + PHP の致命的なエラーが発生します。 PHP 8.0.0 以降では、&throw; キーワードは式として扱えるようになり、 diff --git a/language/generators.xml b/language/generators.xml index dcf327073f..253a633bb8 100644 --- a/language/generators.xml +++ b/language/generators.xml @@ -28,7 +28,7 @@ return するのではなく、必要に応じて何度でも &yield; することができます。 つまり、値を繰り返し返せるということです。 - イテレーターと同じく、ランダムアクセスはできません。 + イテレータと同じく、ランダムアクセスはできません。 @@ -328,7 +328,7 @@ foreach (gen_reference() as &$number) { <command>yield from</command> によるジェネレータの委譲 - ジェネレーターを委譲することで、 + ジェネレータを委譲することで、 別のジェネレータや Traversable オブジェクトあるいは配列から、 yield from キーワードを使って値を yield できます。 外側のジェネレータは、内側のジェネレータ (あるいはオブジェクトや配列) から受け取れるすべての値を yield し、 diff --git a/language/oop5/interfaces.xml b/language/oop5/interfaces.xml index df43d4af17..44e2349849 100644 --- a/language/oop5/interfaces.xml +++ b/language/oop5/interfaces.xml @@ -279,7 +279,7 @@ class C implements B } } -// これは動作せず、fatal error となります。 +// これは動作せず、致命的なエラーとなります。 class D implements B { public function foo() diff --git a/language/operators/functional.xml b/language/operators/functional.xml index b23e98293c..09d61aa6e8 100644 --- a/language/operators/functional.xml +++ b/language/operators/functional.xml @@ -6,7 +6,7 @@ パイプ演算子 PHP 8.5 以降では、callable に直接値を渡す演算子をサポートしています。 - |> 演算子、または "パイプ" は、右辺にパラメーターをひとつ取る + |> 演算子、または "パイプ" は、右辺にパラメータをひとつ取る callable を受け入れ、左辺値をそれに渡し、callable の結果を評価します。 右辺の callable は、有効な PHP の callable であれば何でも構いません: つまり、Closure、 @@ -95,9 +95,9 @@ Array パイプの左側は、値や式であれば何でも構いません。 - パイプの右側は、パラメーターをひとつ取る PHP の有効な callable か、 + パイプの右側は、パラメータをひとつ取る PHP の有効な callable か、 そのように評価できる任意の式であれば何でも構いません。 - 必須のパラメーターをひとつ以上とる関数を右側に指定した場合、 + 必須のパラメータをひとつ以上とる関数を右側に指定した場合、 それは許可されず、 引数が不足した状態で関数をコールしたかのように失敗します。 リファレンスの値を取る関数も許可されていません。 diff --git a/language/predefined/compileerror.xml b/language/predefined/compileerror.xml index 347eee4859..e9c6af20cd 100644 --- a/language/predefined/compileerror.xml +++ b/language/predefined/compileerror.xml @@ -12,7 +12,7 @@ CompileError は コンパイルエラーが起きた時にスローされます。 - 以前は fatal error が発生していました。 + 以前は致命的なエラーが発生していました。 diff --git a/language/predefined/countable/count.xml b/language/predefined/countable/count.xml index 59fe078d5d..226da00d7d 100644 --- a/language/predefined/countable/count.xml +++ b/language/predefined/countable/count.xml @@ -16,7 +16,7 @@ このメソッドは、 count 関数の - value パラメーターが + value パラメータが Countable を実装している場合に実行されます。 diff --git a/language/predefined/generator/rewind.xml b/language/predefined/generator/rewind.xml index 8ed88ff40d..84a4573662 100644 --- a/language/predefined/generator/rewind.xml +++ b/language/predefined/generator/rewind.xml @@ -14,10 +14,10 @@ - 最初の &yield; までジェネレーターを実行します。 - ジェネレーターが既に 最初の &yield; に到達している場合、 + 最初の &yield; までジェネレータを実行します。 + ジェネレータが既に 最初の &yield; に到達している場合、 何も行いません。 - ジェネレーターが &yield; 式を越えて進んでいる場合、 + ジェネレータが &yield; 式を越えて進んでいる場合、 このメソッドは Exception をスローします。 diff --git a/reference/curl/constants.xml b/reference/curl/constants.xml index eaf237176a..5111fa43e1 100644 --- a/reference/curl/constants.xml +++ b/reference/curl/constants.xml @@ -1768,7 +1768,7 @@ - サーバー上のパラメーターを設定します。 + サーバー上のパラメータを設定します。 cURL 7.20.0 以降で利用可能です。 diff --git a/reference/curl/constants_curl_setopt.xml b/reference/curl/constants_curl_setopt.xml index 339a1afe6f..857881c390 100644 --- a/reference/curl/constants_curl_setopt.xml +++ b/reference/curl/constants_curl_setopt.xml @@ -1610,7 +1610,7 @@ SMTP メール送信時の送信者のメールアドレスを string で指定します。 このメールアドレスは、山括弧 (<>) で囲んで指定する必要があり、 指定されていない場合は自動的に追加されます。 - このパラメーターが指定されていない場合、空のアドレスが + このパラメータが指定されていない場合、空のアドレスが SMTP サーバーに送信され、メールが拒否される可能性があります。 cURL 7.20.0 以降で利用可能です。 @@ -2070,7 +2070,7 @@ HTTP の POST 操作で送信する全データです。 - このパラメーターには、 + このパラメータには、 'para1=val1&para2=val2&...' のような URL エンコードされた string か、 フィールド名をキー、フィールドデータを値とする array のいずれかを渡すことができます。 value が array の場合、 @@ -4598,7 +4598,7 @@ data - type パラメーターで示された種類の詳細なデバッグデータ。 + type パラメータで示された種類の詳細なデバッグデータ。 diff --git a/reference/errorfunc/functions/set-error-handler.xml b/reference/errorfunc/functions/set-error-handler.xml index 37abd59603..50299d2be1 100644 --- a/reference/errorfunc/functions/set-error-handler.xml +++ b/reference/errorfunc/functions/set-error-handler.xml @@ -199,7 +199,7 @@ 7.2.0 errcontext が非推奨になりました。 - このパラメーターを使うと、 + このパラメータを使うと、 E_DEPRECATED レベルの警告が発生するようになりました。 diff --git a/reference/funchand/functions/call-user-func-array.xml b/reference/funchand/functions/call-user-func-array.xml index 9b16f02c67..b8fe760210 100644 --- a/reference/funchand/functions/call-user-func-array.xml +++ b/reference/funchand/functions/call-user-func-array.xml @@ -85,7 +85,7 @@ 8.0.0 args のキーは、無視されず、 - パラメーター名として解釈されるようになりました。 + パラメータ名として解釈されるようになりました。 diff --git a/reference/funchand/functions/get-defined-functions.xml b/reference/funchand/functions/get-defined-functions.xml index adcfd53e1c..39c786730e 100644 --- a/reference/funchand/functions/get-defined-functions.xml +++ b/reference/funchand/functions/get-defined-functions.xml @@ -27,7 +27,7 @@ 無効な関数を戻り値から除外するかどうかを指定します。 - PHP 8.0.0 以降は、このパラメーターを使っても何も起きなくなっています。 + PHP 8.0.0 以降は、このパラメータを使っても何も起きなくなっています。 diff --git a/reference/image/functions/image2wbmp.xml b/reference/image/functions/image2wbmp.xml index 2d7e161a8b..534caedd01 100644 --- a/reference/image/functions/image2wbmp.xml +++ b/reference/image/functions/image2wbmp.xml @@ -52,7 +52,7 @@ imagecolorallocate - から取得した識別子をこのパラメーターに設定することで、 + から取得した識別子をこのパラメータに設定することで、 フォアグラウンドカラーを設定できます。 デフォルトのフォアグラウンドカラーは黒です。 diff --git a/reference/info/functions/getenv.xml b/reference/info/functions/getenv.xml index 9607c12ec9..da94f56add 100644 --- a/reference/info/functions/getenv.xml +++ b/reference/info/functions/getenv.xml @@ -90,7 +90,7 @@ 7.0.9 - local_only パラメーターが追加されました。 + local_only パラメータが追加されました。 @@ -130,7 +130,7 @@ $ip = getenv('REMOTE_ADDR', true) ?: getenv('REMOTE_ADDR') 同じ名前のローカル環境変数を設定するために putenv が使用されても、 この関数は SAPI により設定された環境変数の値を常に返します。 ローカル設定された環境変数の値を返すには、 - local_only パラメーターを使用してください。 + local_only パラメータを使用してください。 diff --git a/reference/mbstring/functions/mb-detect-encoding.xml b/reference/mbstring/functions/mb-detect-encoding.xml index 4179e2edd8..aba1357db2 100644 --- a/reference/mbstring/functions/mb-detect-encoding.xml +++ b/reference/mbstring/functions/mb-detect-encoding.xml @@ -187,7 +187,7 @@ string(5) "ASCII" - <parameter>strict</parameter> パラメーターの効果 + <parameter>strict</parameter> パラメータの効果 array)です。 - 値については、キーと同じ名前のパラメーターで説明した意味と同じです。 + 値については、キーと同じ名前のパラメータで説明した意味と同じです。 samesite 要素の値は、 None, Lax または Strict です。 上記で許されているオプションのうち、与えられなかったものについては、 diff --git a/reference/openssl/functions/openssl-dh-compute-key.xml b/reference/openssl/functions/openssl-dh-compute-key.xml index fb484505a6..a1b9a2c706 100644 --- a/reference/openssl/functions/openssl-dh-compute-key.xml +++ b/reference/openssl/functions/openssl-dh-compute-key.xml @@ -149,7 +149,7 @@ PKCS#3 DH Public-Key: (2048 bit) [...abbreviated...] ]]> - この公開鍵を openssl_dh_compute_key のパラメーターとして渡し、 + この公開鍵を openssl_dh_compute_key のパラメータとして渡し、 共有シークレットを計算します diff --git a/reference/reflection/reflectiongenerator/isclosed.xml b/reference/reflection/reflectiongenerator/isclosed.xml index fa0843abbd..49130906f1 100644 --- a/reference/reflection/reflectiongenerator/isclosed.xml +++ b/reference/reflection/reflectiongenerator/isclosed.xml @@ -27,7 +27,7 @@ &reftitle.returnvalues; - ジェネレーターの実行が完了したかどうかを返します。 + ジェネレータの実行が完了したかどうかを返します。 diff --git a/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml b/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml index 8b90c8af83..189bdefa9f 100644 --- a/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml +++ b/reference/reflection/reflectionparameter/getdefaultvalueconstantname.xml @@ -64,7 +64,7 @@ &reftitle.examples; - 関数のパラメーターのデフォルト値の定数を取得する + 関数のパラメータのデフォルト値の定数を取得する module が指定され、&null; でない場合、 そのモジュールを代わりに使用します。 - このパラメーターに "user" を渡すことは禁止されています。 + このパラメータに "user" を渡すことは禁止されています。 ユーザー定義のセッションハンドラを設定するには、この関数のかわりに session_set_save_handler 関数 を呼び出さなければなりません。 diff --git a/reference/session/functions/session-set-cookie-params.xml b/reference/session/functions/session-set-cookie-params.xml index 4a8faa2a3b..fe682dab31 100644 --- a/reference/session/functions/session-set-cookie-params.xml +++ b/reference/session/functions/session-set-cookie-params.xml @@ -58,7 +58,7 @@ Lax または Strict になるはずです。 上記の許可されているオプションがいずれも設定されなかった場合、 - デフォルト値は、明示的なパラメーターのデフォルト値と同じです。 + デフォルト値は、明示的なパラメータのデフォルト値と同じです。 samesite 要素が省略されると、SameSite クッキー属性は設定されません。 diff --git a/reference/spl/directoryiterator/key.xml b/reference/spl/directoryiterator/key.xml index bb66a14bff..caa300b844 100644 --- a/reference/spl/directoryiterator/key.xml +++ b/reference/spl/directoryiterator/key.xml @@ -46,7 +46,7 @@ 8.1.0 - イテレーターが初期化されていない場合、 + イテレータが初期化されていない場合、 Error がスローされるようになりました。 これより前のバージョンでは、&false; を返していました。 diff --git a/reference/spl/multipleiterator/current.xml b/reference/spl/multipleiterator/current.xml index 644b3896d8..7c0ca394b4 100644 --- a/reference/spl/multipleiterator/current.xml +++ b/reference/spl/multipleiterator/current.xml @@ -36,7 +36,7 @@ &reftitle.errors; - イテレーターが無効な場合(PHP 8.1.0 以降) には、 + イテレータが無効な場合(PHP 8.1.0 以降) には、 RuntimeException が発生します。 モード MIT_NEED_ALL が設定されているときに、 アタッチされているイテレータの中にひとつでも無効なものがあった場合も、 diff --git a/reference/url/functions/get-headers.xml b/reference/url/functions/get-headers.xml index 61572abd8d..781b6bac1e 100644 --- a/reference/url/functions/get-headers.xml +++ b/reference/url/functions/get-headers.xml @@ -92,7 +92,7 @@ 7.1.0 - context パラメーターが追加されました。 + context パラメータが追加されました。