3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('a', 'b'); $b = array('c', 'd'); $c = call_user_func_array('array_merge', array_map(null, $a, $b)); var_dump($c);
Output for 4.3.0 - 7.1.0
array(4) { [0]=> string(1) "a" [1]=> string(1) "c" [2]=> string(1) "b" [3]=> string(1) "d" }