It extracts a slice of the array
Example
<?php
echo “<pre>”;
$array = array(0 => ‘PHP’, 1 => ‘ASP’, 2 => ‘JSP’, 3 => ‘JS’);
$array1=array_slice($array,2);
print_r($array1);
?>
Output
Array
(
[0] => JSP
[1] => JS
)