/PHP-8.0/ext/fileinfo/ |
H A D | fileinfo.stub.php | 5 class finfo class 35 * @param resource $finfo 37 function finfo_close($finfo): bool {} argument 40 * @param resource $finfo 42 function finfo_set_flags($finfo, int $flags): bool {} argument 45 * @param resource $finfo 48 function finfo_file($finfo, string $filename, int $flags = FILEINFO_NONE, $context = null): string|… argument 51 * @param resource $finfo 54 function finfo_buffer($finfo, string $string, int $flags = FILEINFO_NONE, $context = null): string|… argument
|
H A D | fileinfo.c | 73 finfo = obj->ptr; \ 74 if (!finfo) { \ 132 PHP_MINIT_FUNCTION(finfo) in PHP_MINIT_FUNCTION() argument 178 PHP_MINIT(finfo), 213 php_fileinfo *finfo; in PHP_FUNCTION() local 265 efree(finfo); in PHP_FUNCTION() 279 efree(finfo); in PHP_FUNCTION() 301 php_fileinfo *finfo; in PHP_FUNCTION() local 322 php_fileinfo *finfo; in PHP_FUNCTION() local 397 magic = finfo->magic; in _php_finfo_get_type() [all …]
|
H A D | fileinfo_arginfo.h | 10 ZEND_ARG_INFO(0, finfo) 14 ZEND_ARG_INFO(0, finfo) 19 ZEND_ARG_INFO(0, finfo) 26 ZEND_ARG_INFO(0, finfo)
|
/PHP-8.0/ext/fileinfo/tests/ |
H A D | finfo_close_basic.phpt | 11 $finfo = finfo_open( FILEINFO_MIME, $magicFile ); 12 var_dump( $finfo ); 15 var_dump( finfo_close($finfo) ); 17 $finfo = new finfo( FILEINFO_MIME, $magicFile ); 18 var_dump( $finfo ); 19 unset( $finfo ); 26 object(finfo)#%d (%d) {
|
H A D | clone_serialize.phpt | 2 Cloning and serializing finfo is not supported 6 $finfo = new finfo; 7 var_dump($finfo->buffer("Test string")); 9 $finfo2 = clone $finfo; 15 $finfo3 = unserialize(serialize($finfo)); 24 Trying to clone an uncloneable object of class finfo 25 Serialization of 'finfo' is not allowed
|
H A D | finfo_set_flags_basic-mb.phpt | 8 $finfo = finfo_open( FILEINFO_MIME, $magicFile ); 12 var_dump( finfo_set_flags( $finfo, FILEINFO_NONE ) ); 13 var_dump( finfo_set_flags( $finfo, FILEINFO_SYMLINK ) ); 15 finfo_close( $finfo ); 18 $finfo = new finfo( FILEINFO_NONE, $magicFile ); 19 var_dump( $finfo->set_flags( FILEINFO_MIME ) );
|
H A D | finfo_set_flags_basic.phpt | 8 $finfo = finfo_open( FILEINFO_MIME, $magicFile ); 12 var_dump( finfo_set_flags( $finfo, FILEINFO_NONE ) ); 13 var_dump( finfo_set_flags( $finfo, FILEINFO_SYMLINK ) ); 15 finfo_close( $finfo ); 18 $finfo = new finfo( FILEINFO_NONE, $magicFile ); 19 var_dump( $finfo->set_flags( FILEINFO_MIME ) );
|
H A D | bug61173.phpt | 2 Bug #61173: Unable to detect error from finfo constructor 5 if (!class_exists('finfo')) 11 $finfo = new finfo(1, '', false); 12 var_dump($finfo); 18 finfo::__construct() expects at most 2 arguments, 3 given
|
H A D | bug69107.phpt | 2 Bug #69107 (finfo no longer detects PHP files) 9 $finfo = new finfo(FILEINFO_MIME_TYPE); 11 var_dump($finfo->buffer("<?php\nclass A{}")); 12 var_dump($finfo->buffer("<?php class A{}")); 13 var_dump($finfo->buffer("<?php\tclass A{}")); 14 var_dump($finfo->buffer("<?php\n\rclass A{}"));
|
H A D | finfo_file_basic.phpt | 8 $finfo = finfo_open( FILEINFO_MIME ); 13 var_dump( finfo_file( $finfo, __FILE__) ); 14 var_dump( finfo_file( $finfo, __FILE__, FILEINFO_CONTINUE ) ); 15 var_dump( finfo_file( $finfo, $magicFile ) ); 17 var_dump( finfo_file( $finfo, $magicFile.chr(0).$magicFile) ); 28 finfo_file(): Argument #1 ($finfo) must not contain any null bytes
|
H A D | bug57547.phpt | 5 if (!class_exists('finfo')) 13 $finfo = new finfo(FILEINFO_MIME); 14 var_dump($finfo->file($filename)); 16 $finfo2 = new finfo();
|
H A D | bug68731.phpt | 5 if (!class_exists('finfo')) 10 $finfo = finfo_open(FILEINFO_MIME_TYPE); 11 echo finfo_buffer($finfo, $buffer);
|
H A D | finfo_open_basic.phpt | 21 // OO interface to finfo 22 var_dump( new finfo( FILEINFO_MIME, $magicFile ) ); 23 var_dump( new finfo() ); 35 object(finfo)#%d (%d) { 37 object(finfo)#%d (%d) {
|
H A D | bug79756.phpt | 10 $finfo = finfo_open(FILEINFO_MIME); 11 $mime = finfo_file($finfo, $filename); 12 finfo_close($finfo);
|
H A D | precedural_finfo_in_method.phpt | 2 Using procedural finfo API in a method 10 $finfo = finfo_open(FILEINFO_MIME); 11 var_dump(finfo_file($finfo, __FILE__));
|
H A D | bug71434.phpt | 13 $finfo = new finfo(FILEINFO_MIME_TYPE); 14 echo $finfo->buffer($a) . "\n";
|
H A D | finfo_phpinfo_basic.phpt | 2 Test finfo extension : loading into phpinfo() 8 echo "*** Testing finfo extension : loading info phpinfo() ***\n"; 18 *** Testing finfo extension : loading info phpinfo() ***
|
H A D | bug79283.phpt | 14 $finfo = new finfo(FILEINFO_NONE, $magic_file); 15 var_dump($finfo->buffer("buffer\n"));
|
H A D | bug71527.phpt | 5 if (!class_exists('finfo')) 11 $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527.magic"); 12 var_dump($finfo);
|
H A D | bug71527-mb.phpt | 5 if (!class_exists('finfo')) 11 … $finfo = finfo_open(FILEINFO_NONE, __DIR__ . DIRECTORY_SEPARATOR . "bug71527私はガラスを食べられます.magic"); 12 var_dump($finfo);
|
H A D | bug78987.phpt | 9 $finfo = new finfo(FILEINFO_MIME_TYPE); 26 $finfo->buffer($content);
|
H A D | bug68819_002.phpt | 20 $finfo = new finfo(); 21 $type = $finfo->buffer($string);
|
H A D | finfo_file_regex.phpt | 14 $finfo = finfo_open( FILEINFO_MIME, $magicFile ); 20 var_dump( finfo_file( $finfo, $file ) ); 21 var_dump( finfo_file( $finfo, $file, FILEINFO_CONTINUE ) );
|
H A D | finfo_extension_flag.phpt | 5 if (!class_exists('finfo')) 10 $f = new finfo;
|
/PHP-8.0/sapi/apache2handler/ |
H A D | sapi_apache2.c | 216 ctx->finfo.st_uid = 0; in php_apache_sapi_get_stat() 219 ctx->finfo.st_uid = ctx->r->finfo.user; in php_apache_sapi_get_stat() 220 ctx->finfo.st_gid = ctx->r->finfo.group; in php_apache_sapi_get_stat() 222 ctx->finfo.st_dev = ctx->r->finfo.device; in php_apache_sapi_get_stat() 223 ctx->finfo.st_ino = ctx->r->finfo.inode; in php_apache_sapi_get_stat() 224 ctx->finfo.st_atime = apr_time_sec(ctx->r->finfo.atime); in php_apache_sapi_get_stat() 225 ctx->finfo.st_mtime = apr_time_sec(ctx->r->finfo.mtime); in php_apache_sapi_get_stat() 226 ctx->finfo.st_ctime = apr_time_sec(ctx->r->finfo.ctime); in php_apache_sapi_get_stat() 227 ctx->finfo.st_size = ctx->r->finfo.size; in php_apache_sapi_get_stat() 228 ctx->finfo.st_nlink = ctx->r->finfo.nlink; in php_apache_sapi_get_stat() [all …]
|