← All docs

finfo_set_flags()

Changes the persistent fileinfo configuration flags.

finfo_set_flags()

function finfo_set_flags(finfo $finfo, int $flags): bool

Changes the persistent fileinfo configuration flags.

Parameters:

  • $finfo (finfo)
  • $flags (int)

Returns: bool

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how finfo_set_flags is implemented in the compiler, see the internals page.