Fileinfo Functions
PHP Manual

finfo_close

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

finfo_closeClose fileinfo resource

Description

Procedural style

bool finfo_close ( resource $finfo )

Object oriented style

finfo::__destruct ( void )

This function closes the resource opened by finfo_open().

Parameters

finfo

Fileinfo resource returned by finfo_open().

Return Values

Returns TRUE on success or FALSE on failure.


Fileinfo Functions
PHP Manual