Please wait while we load your page...

Tools

PHP Manual [The finfo class]

Protect Your Website Today


PHP Manual || Fileinfo

(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 = "" ]] )
public buffer ( string $string [, int $options = FILEINFO_NONE [, resource $context ]] ) : string
public file ( string $file_name [, int $options = FILEINFO_NONE [, resource $context ]] ) : string
public set_flags ( int $options ) : bool
}


PHP Manual || Fileinfo