ArrayIterator::next
    (no version information, might be only in CVS)
ArrayIterator::next -- 
     次のエントリに移動する
    
説明
void 
ArrayIterator::next ( void  )
     この関数は次のエントリにイテレータを移動します。
    
     
例 1. ArrayIterator::next() の例 
<?php $arrayobject = new ArrayObject();
  $arrayobject[] = 'zero'; $arrayobject[] = 'one';
  $iterator = $arrayobject->getIterator();
  while($iterator->valid()) {     echo $iterator->key() . ' => ' . $iterator->current() . "\n";
      $iterator->next(); } ?>
 |  
 上の例の出力は以下となります。  |