Re: DirectoryIterator
| From: | Nathan Nobbe | Date: | Tue, 26 Jan 2010 20:21:45 +0000 |
| Subject: | Re: DirectoryIterator | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301487@lists.php.net to get a copy of this message | ||
On Tue, Jan 26, 2010 at 1:17 PM, Christoph Boget <cboget@hotmail.com> wrote:
> I've looked through the docs but was unable to find out if this is
> possible;
> I hope it is. Is there a way that you get the size/length of the
> collection
> to be iterated (e.g. the total number of files) without having to iterate
> through at least once?
>
def not on DirectorIterator afaik, and furthermore, i dont think thats
supported at the shell / filesystem level even.
-nathan