The finfo classIntroductionThis class provides an object-oriented interface into the fileinfo functions. Class synopsis
finfo
/* Methods */
public __construct(int
$flags = FILEINFO_NONE, stringnull $magic_database = null)public stringfalse buffer(string
$string, int $flags = FILEINFO_NONE, resourcenull $context = null)public stringfalse file(string
$filename, int $flags = FILEINFO_NONE, resourcenull $context = null)public true set_flags(int
$flags)
|