reset

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(), prev(), and reset().