note 95786 added to language.operators.comparison
| From: | asohn~ at ~aircanopy~dot~net | Date: | Thu, 21 Jan 2010 22:50:36 +0000 |
| Subject: | note 95786 added to language.operators.comparison | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165182@lists.php.net to get a copy of this message | ||
Dunno if it's a bug or feature but I stumbled upon this today and I thought I'd share
it...
<?php
echo (0 == 'N/A') ? 'true' : 'false'; // true
echo (0 === 'N/A') ? 'true' : 'false'; // false
?>
----
Server IP: 69.147.83.197
Probable Submitter: 66.160.208.254
----
Manual Page -- http://www.php.net/manual/en/language.operators.comparison.php
Edit -- https://master.php.net/note/edit/95786
Del: integrated -- https://master.php.net/note/delete/95786/integrated
Del: useless -- https://master.php.net/note/delete/95786/useless
Del: bad code -- https://master.php.net/note/delete/95786/bad+code
Del: spam -- https://master.php.net/note/delete/95786/spam
Del: non-english -- https://master.php.net/note/delete/95786/non-english
Del: in docs -- https://master.php.net/note/delete/95786/in+docs
Del: other reasons-- https://master.php.net/note/delete/95786
Reject -- https://master.php.net/note/reject/95786
Search -- https://master.php.net/manage/user-notes.php