note 26098 deleted from function.glob by googleguy
| From: | googleguy@php.net | Date: | Tue, 22 Oct 2013 09:04:18 +0000 |
| Subject: | note 26098 deleted from function.glob by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-196881@lists.php.net to get a copy of this message | ||
Note Submitter: leon at leonatkinson dot com
----
Since this function is a wrapper for the OS function of the same name, you may find it helpful to
look at the man page while the exact PHP implementation is sorted out.
You might have some luck passing in the literal values of the constants defined in
/usr/include/glob.h. For example, GLOB_NOSORT is defined as (1 << 2), which is 4. In PHP,
glob('*.php', 4) will returns an unsorted list for me in RH 7.x. YMMV.