Resource Types
Filesystem Functions
Filesystem
PHP Manual

# Predefined Constants

The constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.

`GLOB_BRACE` (integer)
`GLOB_ONLYDIR` (integer)
`GLOB_MARK` (integer)
`GLOB_NOSORT` (integer)
`GLOB_NOCHECK` (integer)
`GLOB_NOESCAPE` (integer)
`PATHINFO_DIRNAME` (integer)
`PATHINFO_BASENAME` (integer)
`PATHINFO_EXTENSION` (integer)
`PATHINFO_FILENAME` (integer)
  Since PHP 5.2.0.
`FILE_USE_INCLUDE_PATH` (integer)
  Search for `filename` in include_path (since PHP 5).
`FILE_APPEND` (integer)
  Append content to existing file.
`FILE_IGNORE_NEW_LINES` (integer)
  Strip EOL characters (since PHP 5).
`FILE_SKIP_EMPTY_LINES` (integer)
  Skip empty lines (since PHP 5).
`FILE_BINARY` (integer)
  Binary mode (since PHP 6).
`FILE_TEXT` (integer)
  Text mode (since PHP 6).

Resource Types
Filesystem Functions
Filesystem
PHP Manual