Repository navigation
Document printf precision fix in PHP 8.5 - #5868
Merged
lacatoire merged 2 commits intoSep 30, 2026
Merged
Conversation
…es fonctions printf en PHP 8.5 Un formateur sans précision spécifiée traitait incorrectement la précision comme un reset au lieu de 0. Ajout d'une entrée 8.5.0 dans les entités changelog de sprintf et vsprintf, couvrant printf, sprintf, fprintf, vprintf, vsprintf et vfprintf. Closes #833
jordikroon
reviewed
Sep 26, 2026
jordikroon
reviewed
Sep 26, 2026
jordikroon
requested changes
Sep 26, 2026
jordikroon
approved these changes
Sep 30, 2026
KentarouTakeda
added a commit
to php/doc-ja
that referenced
this pull request
Oct 4, 2026
language-snippets.ent を原文の変更に追従しました。 原文では次の変更がありました。 - printf 系の関数の changelog に、PHP 8.5.0 で精度を指定しないフォーマッタの扱いが修正されたことが追記されました(php/doc-en@f59091f、php/doc-en#5868) - SNMP クラスのメソッドの「エラー / 例外」節が書き直され、`SNMP::$exceptions_enabled` のビットマスクに含まれる種類のライブラリエラーでは `SNMPException` をスローし、それ以外では `E_WARNING` を発生させると明記されました(php/doc-en@6612b62、php/doc-en#5907) - typo と文法が修正されました(php/doc-en@7b7d43f、php/doc-en#5905)。changelog で例外クラス名を囲むタグが `<classname>` から `<exceptionname>` に変わっています ## 対象ファイル language-snippets.ent (1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A formatter without a specified precision now correctly treats it as precision 0 instead of resetting it. Added 8.5.0 changelog entry to both
strings.changelog.sprintfandstrings.changelog.vsprintfentities, covering printf, sprintf, fprintf, vprintf, vsprintf and vfprintf.See php/php-src#18897.
PHP 8.5 Documentation Tracker