(PHP 4, PHP 5, PHP 7)
reset — ��������ڲ�ָ��ָ���һ����Ԫ
array
��������顣
���������һ����Ԫ��ֵ���������Ϊ���� FALSE
��
Example #1 reset() ����
<?php
$array = array('step one', 'step two', 'step three', 'step four');
// by default, the pointer is on the first element
echo current($array) . "<br />\n"; // "step one"
// skip two steps
next($array);
next($array);
echo current($array) . "<br />\n"; // "step three"
// reset pointer, start again on step one
reset($array);
echo current($array) . "<br />\n"; // "step one"
?>