Fixed bug#38945 (json_decode has limits on array depth).

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@236344 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2007-05-25 19:56:26 +00:00
parent b1fddb9afa
commit c30c18cd7c

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- $Revision: 1.2 $ -->
<refentry id="function.json-decode">
<refnamediv>
<refname>json_decode</refname>
@ -92,6 +92,38 @@ array(5) {
</para>
</refsect1>
<refsect1 role="notes">
&reftitle.notes;
<caution>
<para>
This function will return false if the JSON encoded data is deeper than
127 elements.
</para>
</caution>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.2.3</entry>
<entry>The nesting limit was increased from 20 to 128</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>