From:             [EMAIL PROTECTED]
Operating system: Suse Linux, Apache web server
PHP version:      4.0.6
PHP Bug Type:     Strings related
Bug description:  Numeric string comparsion fails

<?php
 
// Values are NOT the same and it should print out
// "It worked" but it prints "PHP bugs."
 
if("2000000011211132516" == "2000000011211132521") {
  print("PHP bugs.");
} 
else { 
  print("It worked.");
} 
  
?>

-- 
Edit bug report at: http://bugs.php.net/?id=14421&edit=1


-- 
PHP Development 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