finfo_filefinfo::fileReturn information about a file
&reftitle.description;
&style.procedural;stringfinfo_fileresourcefinfostringfile_name&null;intoptionsFILEINFO_NONEresourcecontext&null;&style.oop;stringfinfo::filestringfile_name&null;intoptionsFILEINFO_NONEresourcecontext&null;
This function is used to get information about a file.
&reftitle.parameters;
finfo
Fileinfo resource returned by finfo_open.
file_name
Name of a file to be checked.
options
One or disjunction of more Fileinfo
constants.
context
For a description of contexts, refer to .
&reftitle.returnvalues;
Returns a textual description of the contents of the
filename argument, or &false; if an error occurred.
&reftitle.examples;
A finfo_file example
]]>
&example.outputs.similar;
&reftitle.seealso;
finfo_buffer