我有两个方面。
$FrstArr = Array(
[0]= array(
[0]=>101,
[1]=>ename1,
[2]=>1110
),
[1]= array(
[0]=>102,
[1]=>ename2,
[2]=>1111
),
[2]= array(
[0]=>103,
[1]=>ename3,
[2]=>1112
)
)
从这个阵列 我需要创建像这种单一层面阵列。
$secondArr = array([0]=>1110,[1]=>1111,[2]=>1112);
With out using any loops how can I create $secondArr array using $FrstArr multidimensional array? Any php built in functionality is available for that?