Home
last modified time | relevance | path

Searched refs:mime_content_type (Results 1 – 6 of 6) sorted by relevance

/PHP-8.2/ext/fileinfo/tests/
H A Dmime_content_type_001.phpt2 mime_content_type(): Testing wrong parameters
9 mime_content_type(1);
14 mime_content_type(NULL);
19 mime_content_type(new stdclass);
24 mime_content_type(array());
29 mime_content_type('foo/inexistent');
32 mime_content_type('');
37 mime_content_type("\0");
44 mime_content_type(): Argument #1 ($filename) must be of type resource|string, int given
50 mime_content_type(): Argument #1 ($filename) cannot be empty
[all …]
H A Dmime_content_type_002.phpt2 mime_content_type(): Testing parameter
8 var_dump(mime_content_type(__FILE__));
9 var_dump(mime_content_type(fopen(__FILE__, 'r')));
10 var_dump(mime_content_type('.'));
11 var_dump(mime_content_type('./..'));
H A Dbug74170.phpt2 Bug #74170 locale information change after mime_content_type
16 var_dump(mime_content_type(__DIR__ . '/resources/test.ppt'));
/PHP-8.2/ext/fileinfo/
H A Dfileinfo_arginfo.h63 ZEND_FUNCTION(mime_content_type);
72 ZEND_FE(mime_content_type, arginfo_mime_content_type)
H A Dfileinfo.stub.php115 function mime_content_type($filename): string|false {} function
H A Dfileinfo.c460 PHP_FUNCTION(mime_content_type) in PHP_FUNCTION() argument

Completed in 8 milliseconds