Home
last modified time | relevance | path

Searched refs:finfo_file (Results 1 – 12 of 12) sorted by relevance

/PHP-5.5/ext/fileinfo/tests/
H A Dfinfo_file_001.phpt2 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 Dfinfo_file_basic.phpt2 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 Dfinfo_file_regex.phpt2 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 Dfinfo_file_stream_001.phpt2 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 Dcve-2014-1943.phpt19 var_dump(finfo_file($fi, $fd));
25 var_dump(finfo_file($fi, $fd));
37 Warning: finfo_file(): Failed identify data 0:(null) in %s on line %d
H A Dbug71527.phpt12 $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 Dfinfo_file_002.phpt2 finfo_file(): Testing mime types
13 $results["$filename"] = finfo_file($fp, $filename);
H A Dcve-2014-3538.phpt17 var_dump(finfo_file($fi, $fd));
/PHP-5.5/ext/fileinfo/
H A Dfileinfo.php13 echo finfo_file($res, $file) . "\n";
H A Dphp_fileinfo.h44 PHP_FUNCTION(finfo_file);
H A Dfileinfo.c173 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC)
208 PHP_FE(finfo_file, arginfo_finfo_file)
581 PHP_FUNCTION(finfo_file) argument
/PHP-5.5/
H A DNEWS4390 . Fixed bug #54016 (finfo_file() Cannot determine filetype in archives).

Completed in 38 milliseconds