proceed with caution
as the documentation already says 
        
FILEINFO_MIME will output something like "image/jpeg; charset=binary"
        
while
        
FILEINFO_MIME_TYPE outputs  "image/jpeg"
and
FILEINFO_MIME_ENCODING outputs  "binary"As constantes abaixo são definidas por esta extensão e só estarão disponíveis quando a extensão tiver sido compilada no PHP ou tiver sido carregada dinamicamente em tempo de execução.
FILEINFO_NONE
    (int)
   FILEINFO_SYMLINK
    (int)
   FILEINFO_MIME_TYPE
    (int)
   FILEINFO_MIME_ENCODING
    (int)
   FILEINFO_MIME
    (int)
   FILEINFO_COMPRESS
     (int)
   FILEINFO_DEVICES
    (int)
   FILEINFO_CONTINUE
    (int)
   FILEINFO_PRESERVE_ATIME
    (int)
   FILEINFO_RAW
    (int)
   \ooo.
    
   FILEINFO_EXTENSION
    (int)
   JPEG, o valor retornado é composto por múltiplas extensões separadas por uma barra, por exemplo:
     "jpeg/jpg/jpe/jfif". Para tipos desconhecidos indisponíveis no
     banco de dados magic.mime, o valor de retorno é "???".
    
    
     Disponível desde o PHP 7.2.0.
    
   FILEINFO_APPLE
    (int)
   proceed with caution
as the documentation already says 
        
FILEINFO_MIME will output something like "image/jpeg; charset=binary"
        
while
        
FILEINFO_MIME_TYPE outputs  "image/jpeg"
and
FILEINFO_MIME_ENCODING outputs  "binary"