php数组$array如下:0=>array(size=2)0=>string'红色'(length=6)1=>string'黄色'(length=6)1=>array(size=2)0=>string'16G'(length=3)1=>string'32G'(length=3)想要的最后输出为:红色-16G红色-32G黄色-16G黄色-32G不知道是如何实现的?补充数组$array的长度不固定,可能会如下0=>array(size=2)0=>string'红色'(length=6)1=>string'黄色'(length=6)1=>array(size=2)0=>string'16G'(length=3)1=>string'32G'(length=3)2=>array(size=2)0=>string'有锁'(length=6)1=>string'无锁'(length=6)
jeck猫
富国沪深
相关分类