The mime_content_type function is the easiest and safest way to
determine the MIME type of a
file. Answer D is, therefore, correct. Note that this function is part
of a deprecated
extension—but there’s still a fair chance you’ll find it in legacy
code.