glob() Constants : glob « File Directory « PHP






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

1.Using the glob() Function
2.Using glob()