3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $thing = array(); $thing['one'] = 1; $thing['two'] = 2; $thing['three'] = 3; $thing['four'] = 4; var_dump($thing);
based on 5ir4t
Output for 4.3.0 - 7.2.0
array(4) { ["one"]=> int(1) ["two"]=> int(2) ["three"]=> int(3) ["four"]=> int(4) }