# marco-oweber@xxxxxx / 2007-02-13 11:54:41 +0100: > > http://de.php.net/~helly/php/ext/spl/interfaceRecursiveIterator.html > > This piece of code > > ------------------------ > <?php > $array = array(1, 2 => array(21, 22 => array(221, 222), 23 => array(231)), > 3); > > $dir = new RecursiveIteratorIterator(new ArrayIterator($array)); untested: $dir = new RecursiveIteratorIterator(new RecursiveArrayIterator($array)); -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php