如何获取下面数组中第一个索引中的所有单词并获取下一个索引???数组 2 D 中的最后一个单词,.. 示例:
$arr = array(
array(
'3'=>'repsol kawasaki honda ktm',
'4'=>'kawasaki honda ktm bmw',
'5'=>'honda ktm bmw ducati',
'6'=>'ktm bmw ducati yamaha'
) ,
array(
'13'=>'lamborghi ferarri mercedes hyundai',
'14'=>'ferarri mercedes hyundai toyota',
'15'=>'mercedes hyundai toyota nissan',
'16'=>'hyundai toyota nissan renault'
),
);
我想要这样的产量:
Array (
[0] => Array (
[0] => repsol kawasaki honda ktm
[1] => bmw
[2] => ducati
[3] => yamaha
)
[1] => Array (
[13] => lamborghi ferarri mercedes hyundai
[14] => toyota
[15] => nissan
[16] => renault
)
)