cvs: phpdoc /en/language types.xml
| From: | Jakub Vrana | Date: | Tue, 07 Mar 2006 00:51:47 +0000 |
| Subject: | cvs: phpdoc /en/language types.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969372271@lists.php.net to get a copy of this message | ||
vrana Tue Mar 7 00:51:47 2006 UTC
Modified files:
/phpdoc/en/language types.xml
Log:
Not so large hexadecimals are converted to float (bug #36325)
http://cvs.php.net/viewcvs.cgi/phpdoc/en/language/types.xml?r1=1.159&r2=1.160&diff_format=u
Index: phpdoc/en/language/types.xml
diff -u phpdoc/en/language/types.xml:1.159 phpdoc/en/language/types.xml:1.160
--- phpdoc/en/language/types.xml:1.159 Thu Mar 2 08:28:29 2006
+++ phpdoc/en/language/types.xml Tue Mar 7 00:51:47 2006
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.159 $ -->
+<!-- $Revision: 1.160 $ -->
<chapter id="language.types">
<title>Types</title>
@@ -408,7 +408,11 @@
var_dump($large_number);
// output: float(2147483648)
-// this doesn't go for hexadecimal specified integers:
+// it's true also for hexadecimal specified integers between 2^31 and 2^32-1:
+var_dump( 0xffffffff );
+// output: float(4294967295)
+
+// this doesn't go for hexadecimal specified integers above 2^32-1:
var_dump( 0x100000000 );
// output: int(2147483647)