3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $var=array(); $var['details']=1; $var[1]="anmol"; var_dump($var);
based on pOT9M
Output for 5.5.0 - 7.3.0rc4
array(2) { ["details"]=> int(1) [1]=> string(5) "anmol" }