Array ([0] = Array ([0] = 1 [1] = one [2] = uno) [1] = Array ([0] = 2 [1] = two [2] = dos) [2] = Array ([0] = 3 [1] = three [2] = tres) [3] = Array ([0] = 4 [1] = four [2] = cuatro) [4] = Array ([0] = 5 [1] = five [2] = cinco))
?php $a = array( 1, 2, 3, 4, 5); $b = array("un", "deux", "trois", "quatre", "cinq"); $c = array("uno", "dos", "tres", "cuatro", "cinco"); $d = array_map(null, $a, $b, $c); print_r($d); / / affichera: / / Array / / (/ / [0] = Array / / (/ / [0] = 1 / / [1] = un / / [2] = uno / /) / / / / [1] = Array / / (/ / [0] = 2 / / [1] = deux / / [2] = dos / /) / / / / [2] = Array / / (/ / [0] = 3 / / [1] = trois / / [2] = tres / /) / / / / [3] = Array / / (/ / [0] = 4 / / [1] = quatre / / [2] = cuatro / /) / / / / [4] = Array / / (/ / [0] = 5 / / [1] = cinq / / [2] = cinco / /) / / / /)?