ArrayIterator::current
    (no version information, might be only in CVS)
ArrayIterator::current -- 
     現在の配列エントリを返す
    
説明
mixed 
ArrayIterator::current ( void  )
     この関数は現在の配列エントリを返します。
    
     
例 1. ArrayIterator::current() の例 
<?php $array = array('1' => 'one',                '2' => 'two',                '3' => 'three');
  $arrayobject = new ArrayObject($array);
  for($iterator = $arrayobject->getIterator();     $iterator->valid();     $iterator->next()) {
      echo $iterator->key() . ' => ' . $iterator->current() . "\n"; } ?>
 |  
 上の例の出力は以下となります。 1 => one
2 => two
3 => three  |  
  |