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 @@ -263,6 +263,8 @@ PHP NEWS
263263 (nielsdos)
264264 . Fixed exit code handling of sendmail cmd and added warnings.
265265 (Jesse Hathaway)
266+ . Fixed bug GH-18897 (printf: empty precision is interpreted as precision 6,
267+ not as precision 0). (nielsdos)
266268
267269- Streams:
268270 . 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