finfo (class)
The finfo class
Introduction
(PHP 5 >= 5.3.0, PHP 7, PECL fileinfo >= 0.1.0)
This class provides an object oriented interface into the fileinfo functions.
Class synopsis
finfo {
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 )}
Table of Contents
- finfo::buffer — Alias of finfo_buffer()
- finfo::__construct — Alias of finfo_open
- finfo::file — Alias of finfo_file()
- finfo::set_flags — Alias of finfo_set_flags()
© 1997–2017 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://secure.php.net/manual/en/class.finfo.php