svn: /phpdoc/en/trunk/appendices/migration70/incompatible/ other.xml
| From: | Thomas Punt | Date: | Mon, 09 Nov 2015 13:59:55 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/migration70/incompatible/ other.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13832@lists.php.net to get a copy of this message | ||
tpunt Mon, 09 Nov 2015 13:59:55 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338096
Log:
Document remaining BC breaks in migration guide
Changed paths:
U phpdoc/en/trunk/appendices/migration70/incompatible/other.xml
Modified: phpdoc/en/trunk/appendices/migration70/incompatible/other.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration70/incompatible/other.xml 2015-11-07 08:46:06 UTC (rev
338095)
+++ phpdoc/en/trunk/appendices/migration70/incompatible/other.xml 2015-11-09 13:59:55 UTC (rev
338096)
@@ -273,6 +273,42 @@
<function>parse_ini_file</function> and
<function>parse_ini_string</function>.
</para>
</sect3>
+
+ <sect3 xml:id="migration70.incompatible.other.json-to-jsond">
+ <title>JSON extension replaced with JSOND</title>
+
+ <para>
+ The JSON extension has been replaced with JSOND, causing two minor BC
+ breaks. Firstly, a number must not end in a decimal point (i.e.
+ <literal>34.</literal> must be changed to either <literal>34.0</literal>
or
+ <literal>34</literal>). Secondly, when using scientific notation, the
+ <literal>e</literal> exponent must not immediately follow a decimal point
+ (i.e. <literal>3.e3</literal> must be changed to either
+ <literal>3.0e3</literal> or <literal>3e3</literal>).
+ </para>
+ </sect3>
+
+ <sect3 xml:id="migration70.incompatible.other.internal-function-failure-overflow">
+ <title>Internal Function Failure on Overflow</title>
+
+ <para>
+ Previously, internal functions would silently truncate numbers produced from
+ float-to-integer coercions when the float was too large to represent as an
+ integer. Now, an E_WARNING will be emitted and &null; will be returned.
+ </para>
+ </sect3>
+
+ <sect3 xml:id="migration70.incompatible.other.fixes-custom-session-handler">
+ <title>Fixes to Custom Session Handler Return Values</title>
+
+ <para>
+ Any predicate functions implemented by custom session handlers that return
+ either &false; or <literal>-1</literal> will be fatal errors. If any value
+ from these functions other than a boolean, <literal>-1</literal>, or
+ <literal>0</literal> is returned, then it will fail and an E_WARNING will be
+ emitted.
+ </para>
+ </sect3>
</sect2>
<!-- Keep this comment at the end of the file