reset

reset -- 將陣列內部指標設成指向首個元素

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