3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array('Maureen','John',1=>'Jason','Sam','Alexander'); var_Dump($array);
based on OKF3W
Output for 4.3.0 - 7.2.0
array(4) { [0]=> string(7) "Maureen" [1]=> string(5) "Jason" [2]=> string(3) "Sam" [3]=> string(9) "Alexander" }