How does count(false) === 1
make any sense at all since count(null) === 0
?
count — Count all elements in an array, or something in an object. -http://php.net/manual/en/function.count.php
This makes even less sense since booleans are primitives and not arrays or countables
.