From a60a207f259002414414ef1eadc581f7741fce93 Mon Sep 17 00:00:00 2001 From: Jakub Zelenka Date: Fri, 9 Dec 2016 18:45:13 +0000 Subject: [PATCH] Update info about json_decode options git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341351 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/json/functions/json-decode.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/reference/json/functions/json-decode.xml b/reference/json/functions/json-decode.xml index 7854dfef0e..d132d43e59 100644 --- a/reference/json/functions/json-decode.xml +++ b/reference/json/functions/json-decode.xml @@ -57,9 +57,12 @@ options - Bitmask of JSON decode options. Currently only - JSON_BIGINT_AS_STRING - is supported (default is to cast large integers as floats) + Bitmask of JSON decode options. Currently there are two supported + options. The first is JSON_BIGINT_AS_STRING that + allows casting big integers to string instead of floats which is the + defaul. The second option is JSON_OBJECT_AS_ARRAY + that has the same effect as setting assoc to + &true;.