I was just playing with glob() and realized that its pretty undocumented
(no flags doc'd) and none of the constants (GLOB_ONLYDIR for example)
are actually defined in PHP....

Just wanted to see if anyone is doing something with this, if not
(unless someone has an objection) I'll get put the constants in PHP and
update the docs. I was thinking of just defining the following (since a
few don't seem to apply):

GLOB_MARK       Append a slash to filenames which are really directories
GLOB_NOSORT     Do not sort the returned filenames
GLOB_NOCHECK    If no files were found that match the filemask, return
the filemask instead of an empty array
GLOB_ONLYDIR    Only match directories which meet the filemask

John


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to