Home
last modified time | relevance | path

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

/PHP-7.4/ext/fileinfo/tests/
H A Dmime_content_type_001.phpt2 mime_content_type(): Testing wrong parameters
8 mime_content_type(1);
9 mime_content_type(NULL);
10 mime_content_type(new stdclass);
11 mime_content_type(array());
12 mime_content_type('foo/inexistent');
13 mime_content_type('');
14 mime_content_type("\0");
18 Warning: mime_content_type(): Can only process string or stream arguments in %s on line %d
28 Warning: mime_content_type(): Empty filename or path in %s on line %d
[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-7.4/ext/fileinfo/
H A Dphp_fileinfo.h44 PHP_FUNCTION(mime_content_type);
H A Dfileinfo.c203 PHP_FE(mime_content_type, arginfo_mime_content_type)
617 PHP_FUNCTION(mime_content_type) in PHP_FUNCTION() argument
/PHP-7.4/
H A DNEWS834 . Fixed bug #79681 (mime_content_type/finfo returning incorrect mimetype).
1208 . Fixed bug #74170 (locale information change after mime_content_type).

Completed in 15 milliseconds