Update info about json_decode options

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341351 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Zelenka 2016-12-09 18:45:13 +00:00
parent 094906da54
commit a60a207f25

View file

@ -57,9 +57,12 @@
<term><parameter>options</parameter></term>
<listitem>
<para>
Bitmask of JSON decode options. Currently only
<constant>JSON_BIGINT_AS_STRING</constant>
is supported (default is to cast large integers as floats)
Bitmask of JSON decode options. Currently there are two supported
options. The first is <constant>JSON_BIGINT_AS_STRING</constant> that
allows casting big integers to string instead of floats which is the
defaul. The second option is <constant>JSON_OBJECT_AS_ARRAY</constant>
that has the same effect as setting <parameter>assoc</parameter> to
&true;.
</para>
</listitem>
</varlistentry>