(PHP >= 5.3.0, PECL fileinfo >= 0.1.0)
Return information about a file
string finfo_file ( resource $finfo, string $file_name = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] )
Procedural style
Object oriented style
public string finfo::file ( string $file_name = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] )
This function is used to get information about a file.