Skip to content

language/types・language/oop5 を原文の文法修正に追従 - #434

Merged
KentarouTakeda merged 1 commit into
php:masterfrom
KentarouTakeda:sync-language-types-and-oop5
Aug 9, 2026
Merged

language/types・language/oop5 を原文の文法修正に追従#434
KentarouTakeda merged 1 commit into
php:masterfrom
KentarouTakeda:sync-language-types-and-oop5

Conversation

@KentarouTakeda

Copy link
Copy Markdown
Collaborator

英語版の文法修正 php/doc-en#5746php/doc-en#5728 への追従。37 ファイル。

うち 29 件は <para><simpara> のマークアップ追従と EN-Revision の更新のみで
訳文が変わらないため、ファイル名を割愛した。残る 8 件は以下。

原文の意味が変わったもの

  • types/string.xml — may be が外れ、終端 ID とみなされて ParseError が起きることが断定になった
  • types/string.xml — possibly が外れ、エンコーディングをパラメータで受け取るか
    デフォルトを仮定するかの選言に再構成された
  • types/declarations.xml — the type of variable reference
    the type of the variable passed by reference で、型を変更される対象が明確化された
  • types/numeric-strings.xml — only if it had leading whitespaces
    if it only had leading whitespacesonly の係り先が変わった
  • oop5/constants.xml — remaining the same and unchangeable が削除された

原文のマークアップ・識別子が変わったもの

  • types/string.xml, types/type-juggling.xml — <classname><exceptionname>
  • oop5/magic.xml — __set_state()<methodname> で囲む
  • types/callable.xml — 存在しない関数名 call_user_function の誤りを call_user_func に修正
  • oop5/properties.xml — 存在しないメソッド名 setNumberofSides の誤りを setNumberOfSides に修正

@KentarouTakeda
KentarouTakeda merged commit 206ea32 into php:master Aug 9, 2026
2 checks passed
@KentarouTakeda
KentarouTakeda deleted the sync-language-types-and-oop5 branch August 9, 2026 04:49
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