summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Zelenka <bukka@php.net>2015-03-06 18:41:43 +0000
committerJakub Zelenka <bukka@php.net>2015-03-06 18:41:43 +0000
commit9d037d574cc359405c7a818c2235644633705999 (patch)
treed318c1349bbcbbac378b39fa902fdc386bdaa165
parent00c35cb6a52b2898f79d91738094a4d711de2553 (diff)
downloadphp-git-9d037d574cc359405c7a818c2235644633705999.tar.gz
Update UPGRADING with info about JSON decode error for empty string
-rw-r--r--UPGRADING3
1 files changed, 2 insertions, 1 deletions
diff --git a/UPGRADING b/UPGRADING
index d4b1d0afa3..9770c976be 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -385,7 +385,8 @@ Other
- JSON:
. Rejected RFC 7159 incompatible number formats in json_decode string -
top level (07, 0xff, .1, -.1) and all levels ([1.], [1.e1])
- . Empty PHP string passed to json_encode emits a JSON syntax error.
+ . Calling json_decode with 1st argument equal to empty PHP string or value that
+ after casting to string is empty string (NULL, FALSE) results in JSON syntax error.
- Stream:
. Removed set_socket_blocking() in favor of its alias stream_set_blocking().