3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'foo'; var_dump(count($a));
based on lSVTv
Output for 7.2.0 - 7.2.6
Warning: count(): Parameter must be an array or an object that implements Countable in /in/Q4KMi on line 4 int(1)
Output for 5.3.21 - 7.1.20
int(1)