Of course you are right. I was fooled by this page:

http://www.wiki.cc/php/RecursiveIterator

<?php
class RecursiveArrayIterator extends ArrayIterator implements RecursiveIteratorIterator
{
    function hasChildren()
    {
        return is_array($this->current());
    }

    function getChildren()
    {
        return new RecursiveArrayIterator($this->current());
    }
}
?>

Thanxs

/Erik

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to