Extension "mime-magic" has been deprecated in favor of the PECL extension "fileinfo" that "provides the same functionality (and more) in a much cleaner way" (1).
Has anybody found some good extensive documentation (API, dependency on magic, magic.mime, examples, etc.)??
There's some at
1) http://us3.php.net/manual/en/ref.mime-magic.php
2) http://wiki.cc/php/Fileinfo
I'm experimenting with object-oriented "fileinfo" interface instead of using the older "mime_content_type()". Any thoughts/feelings about how these compare for determining file mime types?