Vordefinierte Konstanten
 Folgende Konstanten werden von dieser
Erweiterung definiert und stehen nur zur Verfügung, wenn die Erweiterung entweder
statisch in PHP kompiliert oder dynamisch zur Laufzeit geladen
wurde.
 
  - 
   
    FILEINFO_NONE
     (integer)
   
   
- 
    
     No special handling.
    
   
- 
   
    FILEINFO_SYMLINK
     (integer)
   
   
- 
    
     Follow symlinks.
    
   
- 
   
    FILEINFO_MIME_TYPE
     (integer)
   
   
- 
    
     Return the mime type.
    
    
     Available since PHP 5.3.0.
    
   
- 
   
    FILEINFO_MIME_ENCODING
     (integer)
   
   
- 
    
     Return the mime encoding of the file.
    
    
     Available since PHP 5.3.0.
    
   
- 
   
    FILEINFO_MIME
     (integer)
   
   
- 
    
     Return the mime type and mime encoding as defined by RFC 2045.
    
   
- 
   
    FILEINFO_COMPRESS
     (integer)
   
   
- 
    
     Decompress compressed files.
    
    
     Disabled since PHP 5.3.0 due to thread safety issues.
    
   
- 
   
    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.