reset()
reset - Set the internal pointer of an array to its first element
Syntax
mixed reset (
array &$array)
Arguments
Description
reset() rewinds array 's internal pointer to the first element and returns the value of the first array element.
Version
PHP 4, 5
Return value
Returns the value of the first array element, or FALSE if the array is empty.