FINFO(3) 1 FINFO(3)
The finfo class
INTRODUCTION
This class provides an object oriented interface into the fileinfo functions.
CLASS SYNOPSIS
finfo
finfo
o public finfo::__construct NULL ([int $options = FILEINFO_NONE], [string $magic_file])
o public string finfo::buffer NULL NULL (string $string, [int $options = FILEINFO_NONE], [resource $context])
o public string finfo::file NULL NULL (string $file_name, [int $options = FILEINFO_NONE], [resource $context])
o public bool finfo::set_flags (int $options)
PHP Documentation Group FINFO(3)