svn: /phpdoc/en/trunk/reference/json/functions/ json-decode.xml

From: Date: Sun, 01 Jun 2014 22:08:56 +0000
Subject: svn: /phpdoc/en/trunk/reference/json/functions/ json-decode.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-12512@lists.php.net to get a copy of this message
aharvey Sun, 01 Jun 2014 22:08:56 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=333677 Log: PHP 5.6: json_decode() changes. Changed paths: U phpdoc/en/trunk/reference/json/functions/json-decode.xml Modified: phpdoc/en/trunk/reference/json/functions/json-decode.xml =================================================================== --- phpdoc/en/trunk/reference/json/functions/json-decode.xml 2014-06-01 22:07:55 UTC (rev 333676) +++ phpdoc/en/trunk/reference/json/functions/json-decode.xml 2014-06-01 22:08:56 UTC (rev 333677) @@ -72,10 +72,9 @@ <para> Returns the value encoded in <parameter>json</parameter> in appropriate PHP type. Values <literal>true</literal>, <literal>false</literal> and - <literal>null</literal> (case-insensitive) are returned as &true;, &false; - and &null; respectively. &null; is returned if the - <parameter>json</parameter> cannot be decoded or if the encoded - data is deeper than the recursion limit. + <literal>null</literal> are returned as &true;, &false; and &null; + respectively. &null; is returned if the <parameter>json</parameter> cannot + be decoded or if the encoded data is deeper than the recursion limit. </para> </refsect1> @@ -286,6 +285,14 @@ </thead> <tbody> <row> + <entry>5.6.0</entry> + <entry> + Invalid non-lowercased variants of the <literal>true</literal>, + <literal>false</literal> and <literal>null</literal> literals are no + longer accepted as valid input, and will generate warnings. + </entry> + </row> + <row> <entry>5.4.0</entry> <entry> The <parameter>options</parameter> parameter was added.

« previous php.doc.cvs (#12512) next »