Please wait while we load your page...
 

Announcements

PHP Manual :: The finfo class



mime_content_type || finfo::buffer || Fileinfo || PHP Manual

(PHP 5 >= 5.3.0, PHP 7, PECL fileinfo >= 0.1.0)

This class provides an object oriented interface into the fileinfo functions.

finfo {
public __construct ([ int $options = FILEINFO_NONE [, string $magic_file = NULL ]] )
public string buffer ( string $string = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] )
public string file ( string $file_name = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] )
public bool set_flags ( int $options )
}


mime_content_type || finfo::buffer || Fileinfo || PHP Manual
Live Chat Not Available