3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(1=>"Julien","1"=>"Seb","Mag",2=>"Leo"); echo count($arr); var_dump($arr);
Output for 4.3.0 - 7.1.0
2array(2) { [1]=> string(3) "Seb" [2]=> string(3) "Leo" }