Menu Samaritan's Purse

RESET

Set the internal pointer of an array to its first element

SYNTAX

reset ( array &$array ) : mixed

PARAMETERS

array

The input array.

RETURN

Returns the value of the first array element, or FALSE if the array is empty.

EXAMPLES

four
one

INTERNAL

current

end

next

prev

EXTERNAL

PHP