PHP 4.0 Bug #6019 Updated: Error with equal operator when comparing certain values
| From: | Bug Database | Date: | Tue, 08 Aug 2000 13:07:23 +0000 |
| Subject: | PHP 4.0 Bug #6019 Updated: Error with equal operator when comparing certain values | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28089@lists.php.net to get a copy of this message | ||
ID: 6019
Updated by: stas
Reported By: thomas@netropolis.dk
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
1. Use === when you are interested in string-to-string comparison.
2. PHP has precision limits, if you need more precision please use bc extension.
Full Bug description available at: http://bugs.php.net/?id=6019