diff --git a/reference/json/functions/json-decode.xml b/reference/json/functions/json-decode.xml index ee0426e4ef..a7b3ca0802 100644 --- a/reference/json/functions/json-decode.xml +++ b/reference/json/functions/json-decode.xml @@ -13,6 +13,7 @@ stringjson boolassocfalse intdepth512 + intoptions0 Takes a JSON encoded string and converts it into a PHP variable. @@ -48,6 +49,16 @@ + + options + + + Bitmask of JSON decode options. Currently only + JSON_BIGINT_AS_STRING + is supported (default is to cast large integers as floats) + + + @@ -64,6 +75,30 @@ + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.4.0 + + The options parameter was added. + + + + + + + + &reftitle.examples; @@ -204,6 +239,27 @@ Last error : No error has occurred NULL Last error : The maximum stack depth has been exceeded +]]> + + + + <function>json_decode</function> of large integers + + +]]> + + &example.outputs; + +