<?php $a = [1, 2, 3];$b = ['a', 'b', 'c']; print_r(array_map(null, $a, $b));
Standard input is empty
Array ( [0] => Array ( [0] => 1 [1] => a ) [1] => Array ( [0] => 2 [1] => b ) [2] => Array ( [0] => 3 [1] => c ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!