3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php Array ( [73] => Array ( [id] => 73, [parent_id] => 0, [title] => MENU_73, [submenu] => Array ( [74] => Array ( [id] => 74, [parent_id] => 73, [title] => MENU_73_74, [submenu] => Array ( [75] => Array ( [id] => 75, [parent_id] => 74, [title] => MENU_73_74_75, [submenu] => Array ( ) ), [76] => Array ( [id] => 76, [parent_id] => 74, [title] => MENU_73_74_76, [submenu] => Array ( ) ), [77] => Array ( [id] => 77, [parent_id] => 74, [title] => MENU_73_74_77, [submenu] => Array ( ) ), ), ), [78] => Array ( [id] => 78, [parent_id] => 73, [title] => MENU_73_78, [submenu] => Array ( [79] => Array ( [id] => 79, [parent_id] => 78, [title] => MENU_73_78_79, [submenu] => Array ( ), ), ), ), [80] => Array ( [id] => 80, [parent_id] => 73, [title] => MENU_73_80, [submenu] => Array ( [84] => Array ( [id] => 84, [parent_id] => 80, [title] => MENU_73_80_84, [submenu] => Array ( ), ), [85] => Array ( [id] => 85, [parent_id] => 80, [title] => MENU_73_80_85, [submenu] => Array ( ), ), ), ), ), ), [81] => Array ( [id] => 81, [parent_id] => 0, [title] => MENU_81, [submenu] => Array ( [82] => Array ( [id] => 82, [parent_id] => 81, [title] => MENU_81_82, [submenu] => Array ( ), ), [83] => Array ( [id] => 83, [parent_id] => 81, [title] => MENU_81_83, [submenu] => Array ( ), ), ), ), ); var_dump(Array); ?>
Output for 5.4.0 - 5.4.29
Parse error: syntax error, unexpected '(Array)' (array) (T_ARRAY_CAST) in /in/XrUDJ on line 149
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected '[', expecting ')' in /in/XrUDJ on line 4
Process exited with code 255.