From a852772fa6b18499e1b6f02e69c69b604a1533b3 Mon Sep 17 00:00:00 2001 From: Pasindu De Silva Date: Mon, 1 Oct 2018 14:23:36 +0000 Subject: [PATCH] Added JSON_THROW_ON_ERROR to json_decode options list -- Provided by anonymous 93868 (zion@intzone.com) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345754 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/json/functions/json-decode.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/reference/json/functions/json-decode.xml b/reference/json/functions/json-decode.xml index fe1ab90ce8..d909d09b15 100644 --- a/reference/json/functions/json-decode.xml +++ b/reference/json/functions/json-decode.xml @@ -57,12 +57,11 @@ options - 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 - default. The second option is JSON_OBJECT_AS_ARRAY - that has the same effect as setting assoc to - &true;. + Bitmask of JSON_BIGINT_AS_STRING, + JSON_OBJECT_AS_ARRAY, + JSON_THROW_ON_ERROR. The behaviour of these + constants is described on the + JSON constants page.