Home
last modified time | relevance | path

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

/PHP-7.4/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-mb.phpt19 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 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:indirect count (%d) exceeded in %s on line %d
H A Dbug79756.phpt2 Bug #79756 (finfo_file crash (FILEINFO_MIME))
11 $mime = finfo_file($finfo, $filename);
H A Dbug71527-mb.phpt12 $info = finfo_file($finfo, __FILE__);
18 Warning: finfo_file() expects parameter 1 to be resource, bool given in %sbug71527-mb.php on line %d
H A Dbug71527.phpt12 $info = finfo_file($finfo, __FILE__);
18 Warning: finfo_file() expects parameter 1 to be resource, bool 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 Dprecedural_finfo_in_method.phpt11 var_dump(finfo_file($finfo, __FILE__));
H A Dbug69320.phpt10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
H A Dbug67516.phpt2 Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE)
H A Dcve-2014-3538-mb.phpt20 var_dump(finfo_file($fi, $fd));
H A Dcve-2014-3538.phpt20 var_dump(finfo_file($fi, $fd));
H A Dcve-2014-3538-nojit.phpt24 var_dump(finfo_file($fi, $fd));
/PHP-7.4/ext/fileinfo/
H A Dphp_fileinfo.h42 PHP_FUNCTION(finfo_file);
H A Dfileinfo.c166 ZEND_ME_MAPPING(file, finfo_file, arginfo_finfo_method_file, ZEND_ACC_PUBLIC)
201 PHP_FE(finfo_file, arginfo_finfo_file)
601 PHP_FUNCTION(finfo_file) in PHP_FUNCTION() argument
/PHP-7.4/
H A DNEWS790 . Fixed bug #79756 (finfo_file crash (FILEINFO_MIME)). (cmb)
1432 . Fixed bug #78075 (finfo_file treats JSON file as text/plain). (Anatol)
1433 . Fixed bug #78183 (finfo_file shows wrong mime-type for .tga file).

Completed in 43 milliseconds