mirror of
https://github.com/php/php-src.git
synced 2026-04-23 16:08:35 +02:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
17 lines
399 B
PHP
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"
|