reset

it  set the internal pointer of an array to its first element

Example

<?php
$lan = array(“PHP”,”JSP”,”ASP”);
next($lan);
next($lan);
echo reset($lan);
?>

Output

PHP