note 106680 deleted from function.opendir by thiago

From: Date: Tue, 29 Nov 2011 13:08:28 +0000
Subject: note 106680 deleted from function.opendir by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-184769@lists.php.net to get a copy of this message
Note Submitter: John ---- I'm pretty sure bimal at sanjaal dot com is wrong - As far as I know opendir makes no guarantees about the order it returns files, and I've seen the Linux opendir around which I assume this is wrapped return them in arbitrary order. You *might* get them in date order (until your filesystem decides to reuse some inodes...) http://stackoverflow.com/questions/8290773/php-listing-a-directory-files-by-first-the-newest

« previous php.notes (#184769) next »