PHP 8.2.0 Alpha 2 available for testing

La clase finfo

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

Introducción

Esta clase proporciona una interfaz orientada a objetos para las funciones de fileinfo.

Sinopsis de la Clase

class 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
}

Tabla de contenidos

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top