note 95239 deleted from class.recursivedirectoryiterator by danbrown
| From: | danbrown@php.net | Date: | Mon, 21 Dec 2009 17:00:48 +0000 |
| Subject: | note 95239 deleted from class.recursivedirectoryiterator by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164189@lists.php.net to get a copy of this message | ||
Note Submitter: pekka at gmx dot de
----
DirectoryIterator / RecursiveDirectoryIterator have proven to me as totally useless until they have
proper sorting functions. You can't even sort to have sub-directories grouped to the beginning
or the end of the results. Any effort to sort them requires taking them out of the Iterator, and
putting them into a normal array.