Класс finfo
(PHP 5 >= 5.3.0, PHP 7, PHP 8, PECL fileinfo >= 0.1.0)
Введение
Этот класс предоставляет объектно-ориентированный интерфейс к функциям fileinfo.
Обзор классов
class finfo
{
public __construct(
int $flags
= FILEINFO_NONE
,
?string $magic_database
= null
)
public buffer(
string $string
,
int $flags
= FILEINFO_NONE
,
?resource $context
= null
):
string|false
public file(
string $filename
,
int $flags
= FILEINFO_NONE
,
?resource $context
= null
):
string|false
}
Содержание
There are no user contributed notes for this page.