It shift an element off the beginning of array
Example
<?php
echo “<pre>”;
$array = array(0 => ‘PHP’, 1 => ‘ASP’, 2 => ‘JSP’, 3 => ‘JS’);
array_shift($array);
print_r($array);
?>
Output
Array
(
[0] => ASP
[1] => JSP
[2] => JS
)