note 96070 added to language.types.boolean
| From: | mercusmaximus at yahoo dot com | Date: | Sat, 06 Feb 2010 21:50:55 +0000 |
| Subject: | note 96070 added to language.types.boolean | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-165717@lists.php.net to get a copy of this message | ||
Note that the comparison: (false == 0) evaluates to true and so will any value you set to false as
well (without casting).
----
Server IP: 69.147.83.197
Probable Submitter: 76.216.23.250
----
Manual Page -- http://www.php.net/manual/en/language.types.boolean.php
Edit -- https://master.php.net/note/edit/96070
Del: integrated -- https://master.php.net/note/delete/96070/integrated
Del: useless -- https://master.php.net/note/delete/96070/useless
Del: bad code -- https://master.php.net/note/delete/96070/bad+code
Del: spam -- https://master.php.net/note/delete/96070/spam
Del: non-english -- https://master.php.net/note/delete/96070/non-english
Del: in docs -- https://master.php.net/note/delete/96070/in+docs
Del: other reasons-- https://master.php.net/note/delete/96070
Reject -- https://master.php.net/note/reject/96070
Search -- https://master.php.net/manage/user-notes.php