note 61879 deleted from language.operators.comparison by danbrown
| From: | danbrown@php.net | Date: | Thu, 18 Jun 2009 14:08:21 +0000 |
| Subject: | note 61879 deleted from language.operators.comparison by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-157073@lists.php.net to get a copy of this message | ||
Note Submitter: kroczu at interia dot pl
----
<?
//attention about this case!
$a=0;
if($a=="some string..."){ /* (...) -> true! */ }
if($a==="some string..."){ /* (...) -> false */ }
$a=1;
if($a=="some string..."){ /*(...) -> false */ }
if($a==="some string..."){ /*(...) -> false */ }
?>