Re: DirectoryIterator
| From: | Christoph Boget | Date: | Tue, 26 Jan 2010 20:40:04 +0000 |
| Subject: | Re: DirectoryIterator | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301491@lists.php.net to get a copy of this message | ||
>
> right but the collection is built during iteration.
>
So you're saying that if I add a file to the directory between the time I
instantiate the DirectoryIterator and the time I'm finished iterating
through, that file could be picked up? Or is the instance only going to
contain a list of files in that directory at the time the object was
constructed?
thnx,
Christoph