• PHP Video Tutorials

PHP - FileInfo class() Function



The finfo class can provide an object-oriented interface into fileinfo functions.

Syntax

finfo {
   public __construct([ int $options = FILEINFO_NONE [, string $magic_file = "" ]] )
   public buffer( string $string [, int $options = FILEINFO_NONE [, resource $context ]] ) : string
   public file( string $file_name [, int $options = FILEINFO_NONE [, resource $context ]] ) : string
   public set_flags( int $options ) : bool
}
php_function_reference.htm
Advertisements