finfo_close

Close finfo instance

Description

bool finfo_close(finfo $finfo)

This function closes the instance opened by finfo_open.

Parameters

finfo

An finfo instance, returned by finfo_open.

Return Values

Returns true on success or false on failure.

Changelog

Version Description
8.1.0 The finfo parameter expects an finfo instance now; previously, a resource was expected.