Skip to content

doc-en と同期し 7 モジュールを完訳(既訳更新 20 件)#415

Merged
KentarouTakeda merged 6 commits into
php:masterfrom
KentarouTakeda:sync-complete-7-modules
Jul 26, 2026
Merged

doc-en と同期し 7 モジュールを完訳(既訳更新 20 件)#415
KentarouTakeda merged 6 commits into
php:masterfrom
KentarouTakeda:sync-complete-7-modules

Conversation

@KentarouTakeda

Copy link
Copy Markdown
Collaborator

doc-en の更新に追随し、20 ファイルを同期しました。これにより intl・reflection・imagick・array・snmp・exec・soap の 7 モジュールが完訳になります。

訳文の変更を伴う同期(7ファイル)

ReturnTypeWillChange の説明の改稿 — php/doc-en@52e8875935 / php/doc-en@603435cd84

暫定的な戻り値の型のフェーズについての説明が書き直され、ユーザー定義クラスのメソッドをオーバーライドする場合の挙動が独立した段落になりました。空の xi:fallback の除去もあわせて反映しています。

  • language/predefined/attributes/returntypewillchange.xml
  • reference/reflection/reflectionfunctionabstract/ (2) — getTentativeReturnType・hasTentativeReturnType。説明文に class.returntypewillchange へのリンクが追加されました

ssh2_sftp_* の戻り値型への false の追加 — php/doc-en@cad275c0c1

失敗時に false を返す旨が、シグネチャと戻り値の節の両方に追加されました。

  • reference/ssh2/functions/ (4) — lstat・readlink・realpath・stat

コード例・マークアップのみの同期(13ファイル・訳文の変更なし)

例外クラスの methodsynopsis xpointer の誤りを修正 — php/doc-en@1fe6141098

自前のメソッドを持たない例外クラスで、&Methods; の include が存在しない refentry を指しており、&InheritedMethods; も role にクラス名自身を使っていたため、どちらも空のノードセットを選択していました。原文と同じく &Methods; を削除し、role を Exception に修正しています。

  • reference/imagick/ (5) — Imagick・ImagickDraw・ImagickKernel・ImagickPixel・ImagickPixelIterator の各 Exception

サンプルコードの new 演算子の欠落を修正 — php/doc-en@84534c795f

  • reference/soap/ (4) — soapclient の getlastrequestheaders・getlastresponse・getlastresponseheaders、soapserver の getlastresponse

関数名の誤りを修正(snmp2_get_nextsnmp2_getnext) — php/doc-en@84534c795f

  • reference/snmp/functions/snmp2-getnext.xml

コード例の修正

  • reference/array/functions/array-merge.xml — 短縮配列構文への変更と、(array) キャストの例の削除 — php/doc-en@52209b319a
  • reference/exec/functions/exec.xml — 不要な初期化の削除と、$retval$result_code への改名 — php/doc-en@462dddda87
  • reference/intl/functions/intl-get-error-message.xml — サンプルの差し替えと出力例の追加 — php/doc-en@d5e705df75

自前のメソッドを持たない例外クラスで &Methods; の include が存在しない
refentry を指しており、&InheritedMethods; も role にクラス名自身を使って
いたため、どちらも空のノードセットを選択していた。

php/doc-en@1fe6141098
失敗時に false を返す旨が、シグネチャと戻り値の節の両方に追加された。

php/doc-en@cad275c0c1
@KentarouTakeda
KentarouTakeda force-pushed the sync-complete-7-modules branch 2 times, most recently from af95c2f to 5d14440 Compare July 26, 2026 06:28
暫定的な戻り値の型のフェーズについての説明が書き直され、ユーザー定義
クラスのメソッドをオーバーライドする場合の挙動が独立した段落になった。
空の xi:fallback の除去もあわせて反映した。

reflection 側は説明文に class.returntypewillchange へのリンクが追加された。

php/doc-en@52e8875935
php/doc-en@603435cd84
array_merge: 短縮配列構文への変更と、(array) キャストの例の削除
  php/doc-en@52209b319a
exec: 不要な初期化の削除と、$retval の $result_code への改名
  php/doc-en@462dddda87
intl_get_error_message: サンプルの差し替えと出力例の追加
  php/doc-en@d5e705df75
@KentarouTakeda
KentarouTakeda force-pushed the sync-complete-7-modules branch from 5d14440 to 1901f69 Compare July 26, 2026 06:34
@KentarouTakeda
KentarouTakeda merged commit 7c21781 into php:master Jul 26, 2026
2 checks passed
@KentarouTakeda
KentarouTakeda deleted the sync-complete-7-modules branch July 26, 2026 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant