ArrayIterator::rewind
    (no version information, might be only in CVS)
ArrayIterator::rewind -- 
     配列を最初に巻き戻す
    
説明
void 
ArrayIterator::rewind ( void  )
     この関数はイテレータを最初に巻き戻します。
    
     
例 1. ArrayIterator::rewind() の例 
<?php $arrayobject = new ArrayObject();
  $arrayobject[] = 'zero'; $arrayobject[] = 'one'; $arrayobject[] = 'two';
  $iterator = $arrayobject->getIterator();
  $iterator->next(); echo $iterator->key(); //1
  $iterator->rewind(); //最初に巻き戻す echo $iterator->key(); //0 ?>
 |  
  |