PHP 4.0 Bug #5404 Updated: String conversion to integer is incorrect
| From: | Bug Database | Date: | Thu, 06 Jul 2000 14:36:16 +0000 |
| Subject: | PHP 4.0 Bug #5404 Updated: String conversion to integer is incorrect | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23592@lists.php.net to get a copy of this message | ||
ID: 5404
Updated by: stas
Reported By: kix@struktuur.ee
Status: Open
Bug Type: Scripting Engine problem
Assigned To:
Comments:
It's not really PHP. It's C's strtod() function which is to blame. It does very
strange tricks when it meets 0x-numbers.
So, "0x2f" converted by strtod into 1072693248.
Full Bug description available at: http://bugs.php.net/?id=5404