function nextElement()
 {
     echo __METHOD__ . "; ";
     return parent::nextElement();
 }
Esempio n. 2
0
 public function nextElement()
 {
     echo "MyIter::nextElement\n";
     parent::nextElement();
 }
Esempio n. 3
0
<?php

$array = array();
$recArrIt = new RecursiveArrayIterator($array);
$recItIt = new RecursiveIteratorIterator($recArrIt);
var_dump($recItIt->beginIteration());
var_dump($recItIt->endIteration());
var_dump($recItIt->nextElement());
?>