Searched refs:finfo_file (Results 1 – 16 of 16) sorted by relevance
/PHP-7.1/ext/fileinfo/tests/ |
H A D | finfo_file_001.phpt | 2 finfo_file(): Testing file names 9 var_dump(finfo_file($fp, "\0")); 10 var_dump(finfo_file($fp, '')); 11 var_dump(finfo_file($fp, NULL)); 12 var_dump(finfo_file($fp, '.')); 13 var_dump(finfo_file($fp, '&')); 17 Warning: finfo_file(): Empty filename or path in %s on line %d 20 Warning: finfo_file(): Empty filename or path in %s on line %d 23 Warning: finfo_file(): Empty filename or path in %s on line %d 27 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 7 /* Prototype : string finfo_file(resource finfo, char *file_name [, int options [, resource contex… 16 echo "*** Testing finfo_file() : basic functionality ***\n"; 18 // Calling finfo_file() with all possible arguments 19 var_dump( finfo_file( $finfo, __FILE__) ); 20 var_dump( finfo_file( $finfo, __FILE__, FILEINFO_CONTINUE ) ); 21 var_dump( finfo_file( $finfo, $magicFile ) ); 22 var_dump( finfo_file( $finfo, $magicFile.chr(0).$magicFile) ); 27 *** Testing finfo_file() : basic functionality *** 32 Warning: finfo_file(): Invalid path in %s%efinfo_file_basic.php on line %d
|
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 ) ); 26 *** 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 recursion nesting (%d) exceeded in %s on lin…
|
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 recursion nesting (%d) exceeded in %s on lin…
|
H A D | bug71527-mb.phpt | 12 $info = finfo_file($finfo, __FILE__); 18 Warning: finfo_file() expects parameter 1 to be resource, boolean given in %sbug71527-mb.php on lin…
|
H A D | bug71527.phpt | 12 $info = finfo_file($finfo, __FILE__); 18 Warning: finfo_file() expects parameter 1 to be resource, boolean given in %sbug71527.php on line %d
|
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 | 9 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 | cve-2014-3538-mb.phpt | 17 var_dump(finfo_file($fi, $fd));
|
H A D | cve-2014-3538.phpt | 17 var_dump(finfo_file($fi, $fd));
|
/PHP-7.1/ext/fileinfo/ |
H A D | fileinfo.php | 13 echo finfo_file($res, $file) . "\n";
|
H A D | php_fileinfo.h | 44 PHP_FUNCTION(finfo_file);
|
H A D | fileinfo.c | 168 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC) 203 PHP_FE(finfo_file, arginfo_finfo_file) 598 PHP_FUNCTION(finfo_file) in PHP_FUNCTION() argument
|
Completed in 12 milliseconds