finfo 类
(PHP 5 >= 5.3.0, PHP 7, PECL fileinfo >= 0.1.0)
简介
该类在 fileinfo 函数集中提供了一个面向对象的接口。
类摘要
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
}
Table of Contents
User Contributed Notes
There are no user contributed notes for this page.