(PHP 5 >= 5.3.0, PHP 7, PECL fileinfo >= 0.1.0)
This class provides an object oriented interface into the fileinfo functions.
public buffer ( string $string [, int $flags = FILEINFO_NONE [, resource|null $context = null ]] ) : string|false
public file ( string $filename [, int $flags = FILEINFO_NONE [, resource|null $context = null ]] ) : string|false
public set_flags ( int $flags ) : bool}
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/class.finfo.php