PHP 4.0 Bug #5404 Updated: String conversion to integer is incorrect
| From: | Bug Database | Date: | Thu, 03 Aug 2000 23:50:38 +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-27598@lists.php.net to get a copy of this message | ||
ID: 5404
User Update by: kix@struktuur.ee
Status: Analyzed
Bug Type: Scripting Engine problem
Description: String conversion to integer is incorrect
No, it is not necessary to create a new strtod function, because when php checks if the string is a
number or not it explicitly tells strtod, that the string is a base 10 number, instead of letting
strtod determine the base itself, which would result in the correct behaviour.
Full Bug description available at: http://bugs.php.net/?id=5404