svn: /phpdoc/en/trunk/reference/json/functions/ json-encode.xml
| From: | Christoph Michael Becker | Date: | Sat, 09 Jul 2016 12:20:37 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/json/functions/ json-encode.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-14294@lists.php.net to get a copy of this message | ||
cmb Sat, 09 Jul 2016 12:20:37 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=339594
Log:
Fix #72567: PHP 7.1 changes in json_encode() wrt. encoding floats undocumented
Bug: https://bugs.php.net/72567 (Verified) PHP 7.1 changes
in json_encode() wrt. encoding floats undocumented
Changed paths:
U phpdoc/en/trunk/reference/json/functions/json-encode.xml
Modified: phpdoc/en/trunk/reference/json/functions/json-encode.xml
===================================================================
--- phpdoc/en/trunk/reference/json/functions/json-encode.xml 2016-07-09 11:19:17 UTC (rev 339593)
+++ phpdoc/en/trunk/reference/json/functions/json-encode.xml 2016-07-09 12:20:37 UTC (rev 339594)
@@ -89,6 +89,14 @@
</thead>
<tbody>
<row>
+ <entry>7.1.0</entry>
+ <entry>
+ <link linkend="ini.serialize-precision">serialize_precision</link> is
+ used instead of <link linkend="ini.precision">precision</link> when
+ encoding double values.
+ </entry>
+ </row>
+ <row>
<entry>5.6.6</entry>
<entry>
<constant>JSON_PRESERVE_ZERO_FRACTION</constant>
<parameter>option</parameter> was added.
@@ -222,7 +230,7 @@
?>
]]>
</programlisting>
- &example.outputs;
+ &example.outputs.similar;
<screen>
<![CDATA[
Strings representing numbers automatically turned into numbers