Home
last modified time | relevance | path

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

/PHP-8.2/ext/fileinfo/tests/
H A Dfinfo_file_basic.phpt2 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 Dfinfo_file_001.phpt2 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) cannot be empty
28 Warning: finfo_file(&): Failed to open stream: No such file or directory in %s on line %d
H A Dfinfo_file_regex.phpt2 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 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.phpt17 var_dump(finfo_file($fi, $fd));
23 var_dump(finfo_file($fi, $fd));
35 Warning: finfo_file(): Failed identify data 0:indirect count (%d) exceeded in %s on line %d
H A Dcve-2014-1943-mb.phpt17 var_dump(finfo_file($fi, $fd));
23 var_dump(finfo_file($fi, $fd));
35 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))
9 $mime = finfo_file($finfo, $filename);
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 Dbug67516.phpt2 Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE)
H A Dbug69320.phpt10 var_dump(finfo_file(finfo_open(FILEINFO_MIME_TYPE), $fname));
H A Dfinfo_upstream.phpt16 $i = finfo_file( $finfo, $p);
H A Dcve-2014-3538-mb.phpt22 var_dump(finfo_file($fi, $fd));
H A Dcve-2014-3538.phpt22 var_dump(finfo_file($fi, $fd));
H A Dcve-2014-3538-nojit.phpt24 var_dump(finfo_file($fi, $fd));
/PHP-8.2/ext/fileinfo/
H A Dfileinfo_arginfo.h61 ZEND_FUNCTION(finfo_file);
70 ZEND_FE(finfo_file, arginfo_finfo_file)
79 ZEND_ME_MAPPING(file, finfo_file, arginfo_class_finfo_file, ZEND_ACC_PUBLIC)
H A Dfileinfo.stub.php103 function finfo_file(finfo $finfo, string $filename, int $flags = FILEINFO_NONE, $context = null): s… function
H A Dfileinfo.c446 PHP_FUNCTION(finfo_file) in PHP_FUNCTION() argument
/PHP-8.2/
H A DNEWS372 . Fixed bug GH-15752 (Incorrect error message for finfo_file

Completed in 15 milliseconds