3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(1,2,3); $a{'simple'} = 'test'; $a{'simeon'} = 'test2'; $a{3} = 'test22'; print_r($a);
based on EGUOn
Output for 4.3.0 - 7.1.0
Array ( [0] => 1 [1] => 2 [2] => 3 [simple] => test [simeon] => test2 [3] => test22 )