php教程

finfo 类

(PHP 5 >= 5.3.0, PHP 7, PECL fileinfo >= 0.1.0)

简介

该类在 fileinfo 函数集中提供了一个面向对象的接口。

类摘要

finfo {
public __construct ([ int $options = FILEINFO_NONE [, string $magic_file = NULL ]] )
public buffer ( string $string = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] ) : string
public file ( string $file_name = NULL [, int $options = FILEINFO_NONE [, resource $context = NULL ]] ) : string
public set_flags ( int $options ) : bool
}

Table of Contents

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788