File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,8 @@ PHP NEWS
254254 . Added array_first() and array_last(). (nielsdos)
255255 . Fixed bug GH-18823 (setlocale's 2nd and 3rd argument ignores strict_types).
256256 (nielsdos)
257+ . Fixed bug GH-18897 (printf: empty precision is interpreted as precision 6,
258+ not as precision 0). (nielsdos)
257259
258260- Streams:
259261 . Fixed bug GH-16889 (stream_select() timeout useless for pipes on Windows).
Original file line number Diff line number Diff line change @@ -116,6 +116,11 @@ PHP 8.5 UPGRADE NOTES
116116 . SplFileObject::fwrite's parameter $length is now nullable. The default
117117 value changed from 0 to null.
118118
119+ - Standard:
120+ . Using a printf-family function with a formatter that did not specify the
121+ precision previously incorrectly reset the precision instead of treating
122+ it as a precision of 0. See GH-18897.
123+
119124========================================
1201252. New Features
121126========================================
You can’t perform that action at this time.
0 commit comments