Is this a bug?
| From: | Ratko | Date: | Mon, 20 Aug 2001 18:40:28 +0000 |
| Subject: | Is this a bug? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-63550@lists.php.net to get a copy of this message | ||
Please try this:
<?
echo "996448234192168122"=="996448234192168125";
?>
I get "true" as a result. How's that possible?
But if I do:
echo "996448234192168122"==="996448234192168125";
then I get "false" as expected.
php 4.0.6, Debian Potatoe Linux.
Does this happen only on my computer?
thanks,
ratko