1
0
mirror of https://github.com/php/php-src.git synced 2026-04-23 16:08:35 +02:00
Files
archived-php-src/ext/fileinfo/tests/bug67516.phpt
T
Fabien Villepinte a555cc0b3d Clean DONE tags from tests
Remove most of the `===DONE===` tags and its variations.
Keep `===DONE===` if the test output otherwise becomes empty.

Closes GH-4872.
2019-11-07 21:31:47 +01:00

17 lines
399 B
PHP

--TEST--
Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE)
--SKIPIF--
<?php
if (!class_exists('finfo'))
die('skip no fileinfo extension');
--FILE--
<?php
$f = new finfo;
var_dump($f->file(__DIR__ . "/bug67516.gif", FILEINFO_MIME_TYPE));
var_dump($f->file(__DIR__ . "/bug67516.gif", FILEINFO_MIME));
?>
--EXPECT--
string(9) "image/gif"
string(25) "image/gif; charset=binary"