3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arrays = array( 0 => array( 0 => 'one', 1 => 'two', 2 => 'three' ), 1 => array( 0 => 'four', 1 => 'five', 2 => 'six' ), 2 => array( 0 => 'seven', 1 => 'eight', 2 => 'nine' ), ); print_r(array_map('array_merge', $arrays));
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => Array ( [0] => one [1] => two [2] => three ) [1] => Array ( [0] => four [1] => five [2] => six ) [2] => Array ( [0] => seven [1] => eight [2] => nine ) )