2015-07-11 41 views

回答

3

使用array_splice()。它返回一個被刪除元素的數組:

$first_two = array_splice($hackers, 0, 2); 
+0

感謝Barmar的熱心幫助 –