3v4l.org

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