3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'null'; var_dump(count($a));
Output for 7.2.0 - 7.3.0beta1
Warning: count(): Parameter must be an array or an object that implements Countable in /in/CvCEp on line 5 int(1)
Output for 5.6.0 - 5.6.30, hhvm-3.18.5 - 3.22.0, 7.1.0 - 7.1.20
int(1)