Skip to content

doc-en と同期し strings の文法修正と opcache_invalidate() の説明の誤りを反映(11ファイル・2モジュール完訳) - #425

Merged
KentarouTakeda merged 2 commits into
php:masterfrom
KentarouTakeda:sync-strings-grammar-and-opcache-invalidate
Aug 1, 2026
Merged

doc-en と同期し strings の文法修正と opcache_invalidate() の説明の誤りを反映(11ファイル・2モジュール完訳)#425
KentarouTakeda merged 2 commits into
php:masterfrom
KentarouTakeda:sync-strings-grammar-and-opcache-invalidate

Conversation

@KentarouTakeda

Copy link
Copy Markdown
Collaborator

概要

doc-en の 2 件への追従。

strings(10件)— php/doc-en#5726

大半は <para><simpara> のミラーで、訳文は変更していない。原文の記述が変わったのは 2 件。

  • functions/strpbrk.xml — 原文の "for a characters"(characters そのものを探す)が誤りで、
    "for any of the characters in characters" に修正された。既訳も同じ誤りを引き継いでいたので追従した
  • functions/strncasecmp.xml — コード例の出力文字列の文法修正(are equalsare equal

対象ファイル:

  • functions/{crypt,get-html-translation-table,localeconv,quoted-printable-decode,setlocale}.xml
  • functions/{str-repeat,stripos,strncasecmp,strpbrk,strripos}.xml

opcache(1件)— php/doc-en#5723

  • functions/opcache-invalidate.xml — 「インメモリキャッシュのみを無効化し、ファイルキャッシュは
    無効化しない」という記述が誤りで、opcache.file_cache が有効なら対応するファイルキャッシュの
    エントリも無効化される、に修正された

その他


このマージにより strings(110件)と opcache(14件)が完訳になります。

php/doc-en#5726 への追従。大半は <para> → <simpara> のミラーで、訳文は変更していない。

原文の記述が変わったのは 2 件:

- strpbrk.xml — 原文の "for a characters"(characters そのものを探す)が誤りで、
  "for any of the characters in characters" に修正された。既訳も同じ誤りを
  引き継いでいたので追従した
- strncasecmp.xml — コード例の出力文字列の文法修正(are equals → are equal)

get-html-translation-table.xml は原文の &#x22 のセミコロン欠落修正にも追従した。

php/doc-en#5726 は 11 ファイルを変更しているが、ltrim.xml は php#424 で取り込み済み。
php/doc-en#5723 への追従。

「インメモリキャッシュのみを無効化し、ファイルキャッシュは無効化しない」という
記述が誤りで、opcache.file_cache が有効なら対応するファイルキャッシュの
エントリも無効化される、に修正された。
@KentarouTakeda
KentarouTakeda merged commit 31b1424 into php:master Aug 1, 2026
2 checks passed
@KentarouTakeda
KentarouTakeda deleted the sync-strings-grammar-and-opcache-invalidate branch August 1, 2026 11:30
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