Searched refs:finfo_file (Results 1 – 18 of 18) sorted by relevance
/php-src/ext/fileinfo/tests/ |
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 #2 ($filename) must not contain any null bytes
|
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, '')); 19 var_dump(finfo_file($fp, '.')); 20 var_dump(finfo_file($fp, '&')); 24 finfo_file(): Argument #2 ($filename) must not contain any null bytes 25 finfo_file(): Argument #2 ($filename) must not be empty 28 Warning: finfo_file(&): Failed to open stream: No such file or directory in %s on line %d
|
H A D | finfo_file_regex.phpt | 2 Test finfo_file() function : regex rules 15 echo "*** Testing finfo_file() : regex rules ***\n"; 17 // Calling finfo_file() with all possible arguments 19 var_dump( finfo_file( $finfo, $file ) ); 20 var_dump( finfo_file( $finfo, $file, FILEINFO_CONTINUE ) ); 24 *** 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 | bug79756.phpt | 2 Bug #79756 (finfo_file crash (FILEINFO_MIME)) 9 $mime = finfo_file($finfo, $filename);
|
H A D | cve-2014-1943-mb.phpt | 17 var_dump(finfo_file($fi, $fd)); 23 var_dump(finfo_file($fi, $fd));
|
H A D | cve-2014-1943.phpt | 17 var_dump(finfo_file($fi, $fd)); 23 var_dump(finfo_file($fi, $fd));
|
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 | bug67516.phpt | 2 Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE)
|
H A D | bug69320.phpt | 10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
|
H A D | finfo_upstream.phpt | 16 $i = finfo_file( $finfo, $p);
|
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-src/ext/fileinfo/ |
H A D | fileinfo_arginfo.h | 60 ZEND_FUNCTION(finfo_file); 68 ZEND_FE(finfo_file, arginfo_finfo_file)
|
H A D | fileinfo.stub.php | 103 function finfo_file(finfo $finfo, string $filename, int $flags = FILEINFO_NONE, $context = null): s… function
|
H A D | fileinfo.c | 446 PHP_FUNCTION(finfo_file) in PHP_FUNCTION() argument
|
Completed in 23 milliseconds