svn: /phpdoc/en/trunk/language/types/ integer.xml

From: Date: Thu, 20 May 2010 22:24:07 +0000
Subject: svn: /phpdoc/en/trunk/language/types/ integer.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-6693@lists.php.net to get a copy of this message
degeberg Thu, 20 May 2010 22:24:07 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=299538 Log: Removed useless warning about a bug in versions prior to 4.1.0. Changed paths: U phpdoc/en/trunk/language/types/integer.xml Modified: phpdoc/en/trunk/language/types/integer.xml =================================================================== --- phpdoc/en/trunk/language/types/integer.xml 2010-05-20 20:55:33 UTC (rev 299537) +++ phpdoc/en/trunk/language/types/integer.xml 2010-05-20 22:24:07 UTC (rev 299538) @@ -155,19 +155,6 @@ ]]> </programlisting> </example> - - <warning> - <simpara> - Unfortunately, there was a bug in PHP which caused this to not always work - correctly when negative numbers were involved. For example, the result of - <literal>-50000 * $million</literal> is <literal>-429496728</literal>. - However, when both operands were positive, there was no problem. - </simpara> - - <simpara> - This was fixed in PHP 4.1.0. - </simpara> - </warning> <para> There is no <type>integer</type> division operator in PHP.

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