echo count(false); == 1 ?!
| From: | Daevid Vincent | Date: | Wed, 27 Nov 2013 18:04:28 +0000 |
| Subject: | echo count(false); == 1 ?! | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-322514@lists.php.net to get a copy of this message | ||
Really? 1?? I would have expected 0 or false or something other than
positive. *sigh*
$ php -a
php > echo count(false);
1
:-\