]> granicus.if.org Git - php/commitdiff
Add note to the UPGRADING about JSON_OBJECT_AS_ARRAY priority changes
authorJakub Zelenka <bukka@php.net>
Mon, 20 Mar 2017 13:54:47 +0000 (13:54 +0000)
committerJakub Zelenka <bukka@php.net>
Mon, 20 Mar 2017 13:54:47 +0000 (13:54 +0000)
UPGRADING

index 6121b9d70d1f7755b316c0b1f8d8257828ff1f01..52cecb0825fb37ebdb98d15fc7c9f4464632ae5c 100644 (file)
--- a/UPGRADING
+++ b/UPGRADING
@@ -46,6 +46,11 @@ PHP 7.2 UPGRADE NOTES
   . The hash_hmac(), hash_hmac_file() and hash_pbkdf2() functions no longer
     accept non-cryptographic hashes.
 
+- JSON
+  . The json_decode() option JSON_OBJECT_AS_ARRAY is used if the second
+    parameter (assoc) is null. Previously JSON_OBJECT_AS_ARRAY was always
+    ignored.
+
 - PCRE:
   . preg_match() and other PCRE functions now distinguish between unmatched
     subpatterns and empty matches by reporting NULL and "" (empty string),