finfo_file

PHP >= 5.3.0, PHP 7, PHP 8, PECL fileinfo >= 0.1.0
finfo_file - Return information about a file
Manual
Code Examples

Example #1 A finfo_file example

Result: text/html image/gif application/vnd.ms-excel
PHP Version:


Function finfo_file:

File Information Functions

Most used PHP functions