note 83675 deleted from function.scandir by felipe
| From: | felipe@php.net | Date: | Fri, 29 Aug 2008 23:28:50 +0000 |
| Subject: | note 83675 deleted from function.scandir by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-144012@lists.php.net to get a copy of this message | ||
Note Submitter: Ximin Luo
----
krom: that approach doesn't work, since eg. '#' sorts *before* '.' in the
ASCII sorting order. you need to compare values.
also, russel, you don't need to do substr($value, 0, 1) - $value[0] works fine.