array_slice

array_slice -- 从数组中取出一段
<?php
$input = array("a",
);      //
returns "c", "d", and "e"
$output = array_slice($input,
-);  //
returns "d"
$output =
);   //
returns "a", "b", and "c"
// note the differences in the array
keys
print_r(array_slice($input,
, true));
?>
05-20 03:00