php <? // 正數< 陣列長度$ary = [1, 2, 3, 4, 5]; array_splice($ary, 2, -1, 'Mono'); print_r($ary); // > Array ( [0] => 1 [1] => 2 [2] => Mono [3] => 5 ...
確定! 回上一頁