--TEST-- SPL: RecursiveIteratorIterator and beginChildren/endChildren --FILE-- \n"; parent::rewind(); } function beginChildren() { echo str_repeat(' ',$this->getDepth())."\n"; } function valid() { if (!parent::valid()) { echo "