我有一个数组如下: c(26.5, 27, 27.5, 28, 28.5, 29, 29.5) 和 c(80,222,303,408,276,151)
我想将每个数组拆分为,
array[0] -> [26.5]
array[1] -> [27]
array[2] -> [27.5]
等等...
最后我想将两个数组(在 PHP 中)组合为,
array[0] -> [26.5,80]
array[1] -> [27,222]
array[2] -> [27.5,303]
array[3] -> [28,408]
array[4] -> [28.5,276]
array[5] -> [29,151]
帮我找到解决办法。。