文字

The finfo class

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

简介

This class provides an object oriented interface into the fileinfo functions.

类摘要

finfo {
public __construct ([ int $options = FILEINFO_NONE [, string $magic_file = NULL ]] )
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 — 别名 finfo_buffer
  • finfo::__construct — 别名 finfo_open
  • finfo::file — 别名 finfo_file
  • finfo::set_flags — 别名 finfo_set_flags
上一篇: 下一篇: