HomeMenu
Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

finfo_close

Description

The finfo_close of Fileinfo for PHP closes finfo instance.

Syntax

finfo_close(
    finfo $finfo
): bool

Parameters

finfo

An finfo instance, returned by finfo_open().

Return

Returns true on success or false on failure.

Examples

1 · finfo

<?

$finfo = finfo_open();

    if($finfo === false)
    {
        die("finfo_open");
    }

$return = finfo_close($finfo);

var_export($return);
true