3v4l.org

run code in 200+ php & hhvm versions
<?php print_r(array_map(null, array('abc', 'def'))); print_r(array_map(null, array('abc', 'def'), array('ghi', 'jkl'))); print_r(array_map(null, array('abc', 'def'), array('ghi', 'jkl'), array('mno', 'pqr')));
based on dEqFq
Output for 4.3.0 - 5.6.30, hhvm-3.10.1 - 3.15.4, 7.0.0 - 7.2.6
Array ( [0] => abc [1] => def ) Array ( [0] => Array ( [0] => abc [1] => ghi ) [1] => Array ( [0] => def [1] => jkl ) ) Array ( [0] => Array ( [0] => abc [1] => ghi [2] => mno ) [1] => Array ( [0] => def [1] => jkl [2] => pqr ) )