reset

(PHP 3, PHP 4 )

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().


HIVE: All information for read only. Please respect copyright!
Hosted by hive КГБ: Киевская городская библиотека