Searched refs:finfo_file (Results 1 – 17 of 17) sorted by relevance
/PHP-8.0/ext/fileinfo/tests/ |
H A D | finfo_file_001.phpt | 2 finfo_file(): Testing file names 10 var_dump(finfo_file($fp, "\0")); 15 var_dump(finfo_file($fp, '')); 20 var_dump(finfo_file($fp, NULL)); 24 var_dump(finfo_file($fp, '.')); 25 var_dump(finfo_file($fp, '&')); 29 finfo_file(): Argument #1 ($finfo) must not contain any null bytes 30 finfo_file(): Argument #1 ($finfo) cannot be empty 31 finfo_file(): Argument #1 ($finfo) cannot be empty 34 Warning: finfo_file(&): Failed to open stream: No such file or directory in %s on line %d
|
H A D | finfo_file_basic.phpt | 2 Test finfo_file() function : basic functionality 10 echo "*** Testing finfo_file() : basic functionality ***\n"; 12 // Calling finfo_file() with all possible arguments 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) ); 24 *** Testing finfo_file() : basic functionality *** 28 finfo_file(): Argument #1 ($finfo) must not contain any null bytes
|
H A D | finfo_file_regex.phpt | 2 Test finfo_file() function : regex rules 16 echo "*** Testing finfo_file() : regex rules ***\n"; 18 // Calling finfo_file() with all possible arguments 20 var_dump( finfo_file( $finfo, $file ) ); 21 var_dump( finfo_file( $finfo, $file, FILEINFO_CONTINUE ) ); 25 *** Testing finfo_file() : regex rules ***
|
H A D | finfo_file_stream_001.phpt | 2 finfo_file(): Files and directories inside an stream 18 finfo_file($fp, $zip), 19 finfo_file($fp, $dir), 20 finfo_file($fp, $png)
|
H A D | cve-2014-1943-mb.phpt | 19 var_dump(finfo_file($fi, $fd)); 25 var_dump(finfo_file($fi, $fd)); 37 Warning: finfo_file(): Failed identify data 0:indirect count (%d) exceeded in %s on line %d
|
H A D | cve-2014-1943.phpt | 19 var_dump(finfo_file($fi, $fd)); 25 var_dump(finfo_file($fi, $fd)); 37 Warning: finfo_file(): Failed identify data 0:indirect count (%d) exceeded in %s on line %d
|
H A D | bug79756.phpt | 2 Bug #79756 (finfo_file crash (FILEINFO_MIME)) 11 $mime = finfo_file($finfo, $filename);
|
H A D | finfo_file_002.phpt | 2 finfo_file(): Testing mime types 13 $results["$filename"] = finfo_file($fp, $filename);
|
H A D | precedural_finfo_in_method.phpt | 11 var_dump(finfo_file($finfo, __FILE__));
|
H A D | bug69320.phpt | 10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
|
H A D | bug67516.phpt | 2 Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE)
|
H A D | cve-2014-3538-mb.phpt | 20 var_dump(finfo_file($fi, $fd));
|
H A D | cve-2014-3538.phpt | 20 var_dump(finfo_file($fi, $fd));
|
H A D | cve-2014-3538-nojit.phpt | 24 var_dump(finfo_file($fi, $fd));
|
/PHP-8.0/ext/fileinfo/ |
H A D | fileinfo_arginfo.h | 58 ZEND_FUNCTION(finfo_file); 67 ZEND_FE(finfo_file, arginfo_finfo_file) 76 ZEND_ME_MAPPING(file, finfo_file, arginfo_class_finfo_file, ZEND_ACC_PUBLIC)
|
H A D | fileinfo.stub.php | 48 function finfo_file($finfo, string $filename, int $flags = FILEINFO_NONE, $context = null): string|… function
|
H A D | fileinfo.c | 514 PHP_FUNCTION(finfo_file) in PHP_FUNCTION() argument
|
Completed in 18 milliseconds