note 64826 added to function.is-bool

From: Date: Fri, 21 Apr 2006 11:12:55 +0000
Subject: note 64826 added to function.is-bool
Groups: php.notes 
Request: Send a blank email to php-notes+get-108915@lists.php.net to get a copy of this message
Small caveat to rh's post: back in PHP 3, "0" would be considered non-empty (i.e., empty would return false), even though (bool) on "0" would also evaluate to false; thus, they would not be complete opposites for someone using PHP 3. ---- Server IP: 219.239.98.8 Probable Submitter: 218.18.25.235 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.is-bool.php Edit -- http://master.php.net/note/edit/64826 Del: integrated -- http://master.php.net/note/delete/64826/integrated Del: useless -- http://master.php.net/note/delete/64826/useless Del: bad code -- http://master.php.net/note/delete/64826/bad+code Del: spam -- http://master.php.net/note/delete/64826/spam Del: non-english -- http://master.php.net/note/delete/64826/non-english Del: in docs -- http://master.php.net/note/delete/64826/in+docs Del: other reasons-- http://master.php.net/note/delete/64826 Reject -- http://master.php.net/note/reject/64826 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#108915) next »