<?php $arr = array( 'A' => array(10,20,30), 'B' => array(100,200,300), 'C' => array(1000,4000,9000)); array_unshift($arr, null);$res = call_user_func_array("array_map", $arr);print_r($res);
Standard input is empty
Array ( [0] => Array ( [0] => 10 [1] => 100 [2] => 1000 ) [1] => Array ( [0] => 20 [1] => 200 [2] => 4000 ) [2] => Array ( [0] => 30 [1] => 300 [2] => 9000 ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!