📜  array_unshift - 任何代码示例

📅  最后修改于: 2022-03-11 14:54:58.199000             🧑  作者: Mango

代码示例2
$cola = array("naranja", "banana");
array_unshift($cola, "manzana", "frambuesa");
print_r($cola);

Array
(
    [0] => manzana
    [1] => frambuesa
    [2] => naranja
    [3] => banana
)