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.
-
FILEINFO_NONE
(integer)
-
No special handling.
-
FILEINFO_SYMLINK
(integer)
-
Follow symlinks.
-
FILEINFO_MIME
(integer)
-
Return a mime string, instead of a textual description.
-
FILEINFO_COMPRESS
(integer)
-
Decompress compressed files.
-
FILEINFO_DEVICES
(integer)
-
Look at the contents of blocks or character special devices.
-
FILEINFO_CONTINUE
(integer)
-
Return all matches, not just the first.
-
FILEINFO_PRESERVE_ATIME
(integer)
-
If possible preserve the original access time.
-
FILEINFO_RAW
(integer)
-
Don't translate unprintable characters to a \ooo octal
representation.