Re: Where would you look for documentation about interface RecursiveIterator? RecursiveIteratorAggregate - suggestion

From: Date: Tue, 13 Feb 2007 12:01:25 +0000
Subject: Re: Where would you look for documentation about interface RecursiveIterator? RecursiveIteratorAggregate - suggestion
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-248804@lists.php.net to get a copy of this message
# marco-oweber@gmx.de / 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

« previous php.general (#248804) next »