Skip to content

Commit 9b6f21a

Browse files
committed
[ci skip] UPGRADING&NEWS
1 parent 1d68a3a commit 9b6f21a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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).

UPGRADING

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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
========================================
120125
2. New Features
121126
========================================

0 commit comments

Comments
 (0)