array_slice () 的概念跟 slice() 差不多,只是它接的參數分別是起始值、 ... $ary = [1, 2, 3, 4, 5]; print_r(array_slice($ary, 2)); // > Array ( [0] => 3 [1] ...
確定! 回上一頁