reset

PHP -> Funkcie -> Array funkcie -> reset

Syntax

mixed reset(array arr);

Popis

Príkaz jazyka PHP
reset - Set the internal pointer of an array to its first element

reset rewinds array’s internal pointer to the first element.
reset returns the value of the first array element.

Pozri aj

current, each, next, prev, reset