note 53062 deleted from function.is-bool by cmb
| From: | cmb@php.net | Date: | Fri, 01 Feb 2019 14:39:57 +0000 |
| Subject: | note 53062 deleted from function.is-bool by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-210171@lists.php.net to get a copy of this message | ||
Note Submitter: rh at richardhoward dot net
----
punkpuke is wrong here; what he means to say is that empty($x) is the opposite of (bool)$x.
is_bool($x) returns true where $x === false.