3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function m() { $args = func_get_args(); return call_user_func_array('array_merge', $args); } $a1 = array('hi'=>'there'); $a2 = array('world' => 'view'); $b=m($a1,$a2); var_dump($b);
based on Olbo5
Output for 4.3.0 - 7.2.0
array(2) { ["hi"]=> string(5) "there" ["world"]=> string(4) "view" }