reset

(PHP 3, PHP 4 >= 4.0b1)

reset --  Set the internal pointer of an array to its first element

Description

mixed reset (array array)

reset() rewinds array's internal pointer to the first element.

reset() returns the value of the first array element.

See also: current(), each(), next(), and prev().