using the array_shift function

This example shows how to use the array_shift function in php

<html>
<body>
<?php
$grades = array(45,80,23,100,3);
print_r ($grades);
print "<br>";
array_shift($grades);
print_r ($grades);
print "<br>";
?>
</body>
</html>