3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo count(array()); echo count(false); echo count(null); $ducks = 'awesome'; echo count($ducks);
Output for 4.3.0 - 7.1.0
0101