3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = json_decode("[0,'1']"); echo count($a);
based on ed8Xu
Output for 7.2.0
Warning: count(): Parameter must be an array or an object that implements Countable in /in/pdrrN on line 4 0
Output for 5.3.19 - 7.1.10
0