note 102592 deleted from language.operators.comparison by danbrown

From: Date: Wed, 23 Feb 2011 15:47:17 +0000
Subject: note 102592 deleted from language.operators.comparison by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177251@lists.php.net to get a copy of this message
Note Submitter: erik[dot]NOSPAMdercole[at]gmail[dot]com ---- <?php $b = "10431441702500000443" == "10431441702500000043"; var_dump($b); ?> Could anyone tell me why $b is TRUE? The comparison is between 2 (different) strings, how is it possibile? If I use "===" operator the result is FALSE (correct).

« previous php.notes (#177251) next »