note 39027 deleted from function.is-bool by didou
| From: | didou@php.net | Date: | Thu, 15 Jan 2004 08:23:44 +0000 |
| Subject: | note 39027 deleted from function.is-bool by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-63586@lists.php.net to get a copy of this message | ||
Note Submitter: Rob Casey <rob.casey@bluebottle.com>
----
Following up the comments by jeppe at bundsgaard dot net - The integer representation of a boolean
can be returned by a bitwise and-operation against 1:
(bool) & 1 = (int)