3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php if ( count( false ) > 0 ) { print 'pass'; } else { print 'no pass'; }
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/NU7DC on line 3 pass
Output for 5.3.19 - 7.1.10
pass