3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $users=["joy"=>21,"ram","shyam"]; var_dump($users); echo $users["joy"];
based on AooDf
Output for 5.6.0 - 7.3.0alpha1
array(3) { ["joy"]=> int(21) [0]=> string(3) "ram" [1]=> string(5) "shyam" } 21