com php-src: Add note to the UPGRADING about JSON_OBJECT_AS _ARRAY priority changes: UPGRADING
| From: | Jakub Zelenka | Date: | Mon, 20 Mar 2017 13:54:47 +0000 |
| Subject: | com php-src: Add note to the UPGRADING about JSON_OBJECT_AS _ARRAY priority changes: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-97354@lists.php.net to get a copy of this message | ||
Commit: bde01adaeb0c59fe257e9532cb68c096c9ebe2b0
Author: Jakub Zelenka <bukka@php.net> 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),