Re: DirectoryIterator
| From: | Ashley Sheridan | Date: | Tue, 26 Jan 2010 20:24:54 +0000 |
| Subject: | Re: DirectoryIterator | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301489@lists.php.net to get a copy of this message | ||
On Tue, 2010-01-26 at 15:25 -0500, Christoph Boget wrote:
> >
> > def not on DirectorIterator afaik, and furthermore, i dont think thats
> > supported at the shell / filesystem level even.
>
>
> Well if the Iterator has the whole of the collection in order to be able to
> iterate over it, I would think that it should be able to return the size of
> that collection... :(
>
> thnx,
> Christoph
Surely by that point it's already iterated at least once to put that
collection together?
Thanks,
Ash
http://www.ashleysheridan.co.uk