svn: /phpdoc/en/trunk/appendices/migration70/incompatible/ integers.xml

From: Date: Fri, 22 Jul 2016 18:08:39 +0000
Subject: svn: /phpdoc/en/trunk/appendices/migration70/incompatible/ integers.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-14352@lists.php.net to get a copy of this message
cmb Fri, 22 Jul 2016 18:08:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=339704 Log: Clarify that PHP 7 division by zero results are according to IEEE 754 Changed paths: U phpdoc/en/trunk/appendices/migration70/incompatible/integers.xml Modified: phpdoc/en/trunk/appendices/migration70/incompatible/integers.xml =================================================================== --- phpdoc/en/trunk/appendices/migration70/incompatible/integers.xml 2016-07-22 16:33:15 UTC (rev 339703) +++ phpdoc/en/trunk/appendices/migration70/incompatible/integers.xml 2016-07-22 18:08:39 UTC (rev 339704) @@ -64,7 +64,7 @@ Previously, when 0 was used as the divisor for either the divide (/) or modulus (%) operators, an E_WARNING would be emitted and <constant>false</constant> would be returned. Now, the divide operator - returns a float as either +INF, -INF, or NAN. The modulus operator E_WARNING + returns a float as either +INF, -INF, or NAN, as specified by IEEE 754. The modulus operator E_WARNING has been removed and will throw a <classname>DivisionByZeroError</classname> exception. </para>

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