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 11<?xml version =" 1.0" encoding =" utf-8" ?>
22<!-- $Revision$ -->
3- <!-- EN-Revision: 40352bfbde2dba2110bab608d6a65687c85ad064 Maintainer: takagi Status: ready -->
3+ <!-- EN-Revision: 3d0baa6639d759d42e3c180d455580b19e4f4deb Maintainer: takagi Status: ready -->
44<!-- Credits: mumumu -->
55<refentry xml : id =" function.json-decode" xmlns =" http://docbook.org/ns/docbook" >
66 <refnamediv >
1313 <methodsynopsis >
1414 <type >mixed</type ><methodname >json_decode</methodname >
1515 <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 >
1717 <methodparam choice =" opt" ><type >int</type ><parameter >depth</parameter ><initializer >512</initializer ></methodparam >
1818 <methodparam choice =" opt" ><type >int</type ><parameter >options</parameter ><initializer >0</initializer ></methodparam >
1919 </methodsynopsis >
4444 <listitem >
4545 <para >
4646 &true; の場合、返されるオブジェクトは連想配列形式になります。
47+ &false; の場合、返されるオブジェクトは &object; になります。
48+ &null; の場合、返されるオブジェクトは <parameter >options</parameter > に
49+ <constant >JSON_OBJECT_AS_ARRAY</constant > が設定されているかどうかによって、
50+ 連想配列形式か &object; かが変化します。
4751 </para >
4852 </listitem >
4953 </varlistentry >
107111 が追加されました。
108112 </entry >
109113 </row >
114+ <row >
115+ <entry >7.2.0</entry >
116+ <entry >
117+ <parameter >assoc</parameter > は nullable になりました。
118+ </entry >
119+ </row >
110120 <row >
111121 <entry >7.2.0</entry >
112122 <entry >
You can’t perform that action at this time.
0 commit comments