3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $toto = true; var_dump(count($toto));
based on Ab9Ia
Output for 7.2.0 - 7.3.1
Warning: count(): Parameter must be an array or an object that implements Countable in /in/XMWJi on line 5 int(1)
Output for 5.3.18 - 7.1.25
int(1)