bjori Fri May 25 19:56:26 2007 UTC
Modified files: /phpdoc/en/reference/json/functions json-decode.xml Log: Fixed bug#38945 (json_decode has limits on array depth). http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/json/functions/json-decode.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/json/functions/json-decode.xml diff -u phpdoc/en/reference/json/functions/json-decode.xml:1.1 phpdoc/en/reference/json/functions/json-decode.xml:1.2 --- phpdoc/en/reference/json/functions/json-decode.xml:1.1 Sun Jan 28 00:32:42 2007 +++ phpdoc/en/reference/json/functions/json-decode.xml Fri May 25 19:56:26 2007 @@ -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 @@ </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>