FINFO_SET_FLAGS(3) 1 FINFO_SET_FLAGS(3)
finfo_set_flags - Set libmagic configuration options
Procedural style
SYNOPSIS
bool finfo_set_flags (resource $finfo, int $options)
DESCRIPTION
Object oriented style bool finfo::set_flags (int $options)
This function sets various Fileinfo options. Options can be set also directly in finfo_open(3) or other Fileinfo functions.
PARAMETERS
o $finfo
- Fileinfo resource returned by finfo_open(3).
o $options
- One or disjunction of more Fileinfo constants.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
PHP Documentation Group FINFO_SET_FLAGS(3)