note 69971 added to language.types.boolean

From: Date: Thu, 28 Sep 2006 14:38:59 +0000
Subject: note 69971 added to language.types.boolean
Groups: php.notes 
Request: Send a blank email to php-notes+get-117774@lists.php.net to get a copy of this message
Actually, "a" == 0 is not strange at all. PHP is converting "a" into an INT, and "a" as an INT is 0, while "5a" converted to an INT is 5. ---- Server IP: 64.71.164.2 Probable Submitter: 63.71.72.19 ---- Manual Page -- http://www.php.net/manual/en/language.types.boolean.php Edit -- https://master.php.net/note/edit/69971 Del: integrated -- https://master.php.net/note/delete/69971/integrated Del: useless -- https://master.php.net/note/delete/69971/useless Del: bad code -- https://master.php.net/note/delete/69971/bad+code Del: spam -- https://master.php.net/note/delete/69971/spam Del: non-english -- https://master.php.net/note/delete/69971/non-english Del: in docs -- https://master.php.net/note/delete/69971/in+docs Del: other reasons-- https://master.php.net/note/delete/69971 Reject -- https://master.php.net/note/reject/69971 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117774) next »