Skip to content

Commit 872ef91

Browse files
UPGRADING and NEWS
1 parent 29e755a commit 872ef91

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ PHP NEWS
99
- FTP:
1010
. Fixed bug #65667 (ftp_nb_continue produces segfault). (Philip Hofstetter)
1111

12+
- JSON
13+
. Fixed whitespace part of bug #64874 ("json_decode handles whitespace and
14+
case-sensitivity incorrectly")
15+
1216
- Sockets:
1317
. Fixed bug #65808 (the socket_connect() won't work with IPv6 address).
1418
(Mike)

UPGRADING

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ b. Extensions with changed behavior
492492
- the output of the tiger hash family has been corrected, see
493493
https://bugs.php.net/61307
494494

495+
- JSON extension
496+
- Fixed whitespace part of bug #64874 ("json_decode handles whitespace and
497+
case-sensitivity incorrectly")
498+
This means that leading and trailing whitespace when deserialising lone
499+
JSON null, true, false, string and number values no longer causes an
500+
error. Please note that this only applies to the deserialising of strings
501+
containing only a null, true, false, string or number value. Leading and
502+
trailing whitespace around and inside objects and arrays has never caused
503+
an error.
504+
495505
===========================
496506
10. Changes in SAPI support
497507
===========================

0 commit comments

Comments
 (0)