MimeTypeDetector deprecated? why?

Notice: This thread is very old.
mcmatak
Member | 504
+
+1
-

anybody know why

https://github.com/…Detector.php

is deprecated?

the hint advises me to use finfo_file instead, but it is core of the mimetypedetector function, so where is problem? and what to use instead?

Filip Procházka
Moderator | 4668
+
+1
-

You should use finfo_file instead :)