mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
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:
parent
fc92f870bc
commit
a852772fa6
1 changed files with 5 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue