dolibarr/dev/tools/phan/stubs/fileinfo.phan_php
2024-09-06 20:28:06 +08:00

31 lines
995 B
Plaintext

<?php
// These stubs were generated by the phan stub generator.
// @phan-stub-for-extension fileinfo@1.0.5
namespace {
class finfo {
// methods
public function finfo($options = null, $arg = null) {}
public function set_flags($options) {}
public function file($filename, $options = null, $context = null) {}
public function buffer($string, $options = null, $context = null) {}
}
function finfo_buffer($finfo, $string, $options = null, $context = null) {}
function finfo_close($finfo) {}
function finfo_file($finfo, $filename, $options = null, $context = null) {}
function finfo_open($options = null, $arg = null) {}
function finfo_set_flags($finfo, $options) {}
function mime_content_type($string) {}
const FILEINFO_CONTINUE = 32;
const FILEINFO_DEVICES = 8;
const FILEINFO_MIME = 1040;
const FILEINFO_MIME_ENCODING = 1024;
const FILEINFO_MIME_TYPE = 16;
const FILEINFO_NONE = 0;
const FILEINFO_PRESERVE_ATIME = 128;
const FILEINFO_RAW = 256;
const FILEINFO_SYMLINK = 2;
}