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
This commit is contained in:
Pasindu De Silva 2018-10-01 14:23:36 +00:00
parent fc92f870bc
commit a852772fa6

View file

@ -57,12 +57,11 @@
<term><parameter>options</parameter></term>
<listitem>
<para>
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
default. The second option is <constant>JSON_OBJECT_AS_ARRAY</constant>
that has the same effect as setting <parameter>assoc</parameter> to
&true;.
Bitmask of <constant>JSON_BIGINT_AS_STRING</constant>,
<constant>JSON_OBJECT_AS_ARRAY</constant>,
<constant>JSON_THROW_ON_ERROR</constant>. The behaviour of these
constants is described on the
<link linkend="json.constants">JSON constants</link> page.
</para>
</listitem>
</varlistentry>