$sliceArr=[]; foreach ($productArr as &$value) { $arr['name']=$value['name']; $arr['value']=$value['value']; $sliceArr[]=$arr; } dump($sliceArr);
上一篇:tp5遍历图片文件文件夹删除多余图片
下一篇:PHP Warning: Module 'openssl' already loaded in Unknown on l