3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = array("0","3","0",6,62); var_dump(array_count_values($string)); var_dump($string["0"]);
based on 3188F
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
array(4) { [0]=> int(2) [3]=> int(1) [6]=> int(1) [62]=> int(1) } string(1) "0"