Skip to content

Document printf precision fix in PHP 8.5 - #5868

Open
lacatoire wants to merge 2 commits into
php:masterfrom
lacatoire:fix/printf-precision-changelog-85
Open

lacatoire wants to merge 2 commits into
php:masterfrom
lacatoire:fix/printf-precision-changelog-85

Conversation

@lacatoire

Copy link
Copy Markdown
Member

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.sprintf and strings.changelog.vsprintf entities, covering printf, sprintf, fprintf, vprintf, vsprintf and vfprintf.

See php/php-src#18897.

PHP 8.5 Documentation Tracker

…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

@B198603 B198603 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The

@lacatoire lacatoire added this to the PHP 8.5 milestone Sep 25, 2026
@lacatoire lacatoire added the 8.5 label Sep 25, 2026
Comment thread language-snippets.ent Outdated
Comment thread language-snippets.ent Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants