3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php error_reporting(-1); $myarray['lol']['rofl']['foo'] = 10; var_dump($myarray);
Output for 4.3.0 - 7.1.0
array(1) { ["lol"]=> array(1) { ["rofl"]=> array(1) { ["foo"]=> int(10) } } }