3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr= [ ["test1"=>["a"=>"1"]], ["test2"=>["b"=>"2"]], ["test3"=>["c"=>"3"]], ["test4"=>["d"=>"4"]], ]; $b = call_user_func_array("array_merge",$arr); print_r($b);

preferences:
65.61 ms | 2424 KiB | 5 Q