Bug #1704: Hexnumber becomes floatingpoint
| From: | zznyyd at diku dot dk | Date: | Tue, 13 Jul 1999 16:04:56 +0000 |
| Subject: | Bug #1704: Hexnumber becomes floatingpoint | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8441@lists.php.net to get a copy of this message | ||
From: zznyyd@diku.dk
Operating system: Linux 2.2.10
PHP version: 3.0.11
PHP Bug Type: Other
Bug description: Hexnumber becomes floatingpoint
This little simple script should demonstrate the
problem. Instead of an integer number it outputs
1.9999990463257.
<?php
$mask = 0xFFFFF800;
echo $mask;
?>
PHP was compiled as an Apache module.
I currently have no php3.ini file.