php / 8.1.5 / finfo.file.html /

finfo::file

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

finfo::fileAlias of finfo_file()

Description

public finfo::file(string $filename, int $flags = FILEINFO_NONE, ?resource $context = null): string|false

This function is an alias of: finfo_file()

© 1997–2021 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/finfo.file.php