3v4l.org

run code in 300+ PHP versions simultaneously
<?php function m() { $args = func_get_args(); call_user_func_array('array_merge', $args); } $a1 = array('hi'=>'there'); $a2 = array('world' => 'view'); $b=m($a1,$a2); var_dump($b);

preferences:
35.82 ms | 402 KiB | 5 Q