glob() Constants : glob « File Directory « PHP
- PHP
- File Directory
- glob
glob() Constants
GLOB_MARK Append a slash to filenames that 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 Match only directories that meet the filemask.
Related examples in the same category