you are right.
<?php
if (6448234192168122==6448234192168125) { 

echo 'A' ;

} else {
echo 'B' ;
 }

?>

I tested with 99644xxx and 964xxxx It printed A. 
However, if you are down to 644xxx is prints B which is
correct. Perhaps a limitation of 16 digits.
?????
good catch
--- Ratko <[EMAIL PROTECTED]> wrote:
> 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
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
> [EMAIL PROTECTED]
> 


=====
Mehmet Erisen
http://www.erisen.com

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to