将数组值重新格式化为新数组

时间:2019-07-13 03:12:32

标签: php

新数组([0] => ,[1] => ,[2] => ,[3] => ,[4] => ,[5] => ,[6] => ,[7] =>

数据数组([0] => 1 ,[1] => 2 ,[2] => 5, [3] => 8

我想按键将新旧阵列重整
结果数组([0] => 1,[1] => 2,[2] => ,[3] => ,[4] => 5 ,[5] => ,[6] => ,[7] => 8

谢谢

0 个答案:

没有答案