3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $submenu = array("hello", "world");  $key = 0; $menu[$key]['submenu'] = $submenu;    print_r($menu);
based on 0MKVE
Output for 5.3.0 - 5.4.32
<?php $submenu = array("hello", "world");  $key = 0; $menu[$key]['submenu'] = $submenu;    print_r($menu);