Available on php
See also:
https://www.php.net/manual/en/class.finfo.php
@:value({ magic_database : "" })new(?flags:Int, magic_database:String = "")
buffer(string:String, ?flags:Int, ?context:Resource):EitherType<String, Bool>
file(filename:String, ?flags:Int, ?context:Resource):EitherType<String, Bool>
set_flags(flags:Int):Bool