File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<!-- $Revision$ -->
3
- <!-- EN-Revision: 40352bfbde2dba2110bab608d6a65687c85ad064 Maintainer: takagi Status: ready -->
3
+ <!-- EN-Revision: 3d0baa6639d759d42e3c180d455580b19e4f4deb Maintainer: takagi Status: ready -->
4
4
<!-- Credits: mumumu -->
5
5
<refentry xml : id =" function.json-decode" xmlns =" http://docbook.org/ns/docbook" >
6
6
<refnamediv >
13
13
<methodsynopsis >
14
14
<type >mixed</type ><methodname >json_decode</methodname >
15
15
<methodparam ><type >string</type ><parameter >json</parameter ></methodparam >
16
- <methodparam choice =" opt" ><type >bool</type ><parameter >assoc</parameter ><initializer >&false ; </initializer ></methodparam >
16
+ <methodparam choice =" opt" ><type >bool</type ><parameter >assoc</parameter ><initializer >&null ; </initializer ></methodparam >
17
17
<methodparam choice =" opt" ><type >int</type ><parameter >depth</parameter ><initializer >512</initializer ></methodparam >
18
18
<methodparam choice =" opt" ><type >int</type ><parameter >options</parameter ><initializer >0</initializer ></methodparam >
19
19
</methodsynopsis >
44
44
<listitem >
45
45
<para >
46
46
&true; の場合、返されるオブジェクトは連想配列形式になります。
47
+ &false; の場合、返されるオブジェクトは &object; になります。
48
+ &null; の場合、返されるオブジェクトは <parameter >options</parameter > に
49
+ <constant >JSON_OBJECT_AS_ARRAY</constant > が設定されているかどうかによって、
50
+ 連想配列形式か &object; かが変化します。
47
51
</para >
48
52
</listitem >
49
53
</varlistentry >
107
111
が追加されました。
108
112
</entry >
109
113
</row >
114
+ <row >
115
+ <entry >7.2.0</entry >
116
+ <entry >
117
+ <parameter >assoc</parameter > は nullable になりました。
118
+ </entry >
119
+ </row >
110
120
<row >
111
121
<entry >7.2.0</entry >
112
122
<entry >
You can’t perform that action at this time.
0 commit comments