com php-src: Add note to the UPGRADING about JSON_OBJECT_AS _ARRAY priority changes: UPGRADING

[email protected] (Jakub Zelenka)
Newsgroups php.cvs
Message-ID <[email protected]>
Commit:    bde01adaeb0c59fe257e9532cb68c096c9ebe2b0
Author:    Jakub Zelenka <[email protected]>         Mon, 20 Mar 2017 13:54:47 +0000
Parents:   65afcf81a062cf5cc4a0a754ced6f6422e5537ad
Branches:  master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=bde01adaeb0c59fe257e9532cb68c096c9ebe2b0

Log:
Add note to the UPGRADING about JSON_OBJECT_AS_ARRAY priority changes

Changed paths:
  M  UPGRADING


Diff:
diff --git a/UPGRADING b/UPGRADING
index 6121b9d..52cecb0 100644
--- 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),
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.