ArrayIterator::rewind
配列を最初に巻き戻す
&reftitle.description;
public voidArrayIterator::rewind
イテレータを最初に巻き戻します。
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
&return.void;
&reftitle.examples;
ArrayIterator::rewind の例
getIterator();
$iterator->next();
echo $iterator->key(); //1
$iterator->rewind(); //最初に巻き戻す
echo $iterator->key(); //0
?>
]]>