note 50525 deleted from function.is-bool by nlopess
| From: | nlopess@php.net | Date: | Wed, 02 Mar 2005 18:44:50 +0000 |
| Subject: | note 50525 deleted from function.is-bool by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-85813@lists.php.net to get a copy of this message | ||
Note Submitter: dasil003 at umn dot edu
----
I have not tested this, but I'm pretty sure that is_bool will return true on a variable set to
false. Otherwise the function is pretty broken. Not sure where you got the idea that is_bool is
the opposite of empty, but that's not the purpose of the function (nor does it make your code
any more readable). Editor, please delete both these posts.