xref: /php-src/ext/fileinfo/tests/bug67516.phpt (revision bd9f4fa6)
1--TEST--
2Bug #67516 wrong mimetypes with finfo_file(filename, FILEINFO_MIME_TYPE)
3--EXTENSIONS--
4fileinfo
5--FILE--
6<?php
7
8$f = new finfo;
9var_dump($f->file(__DIR__ . "/bug67516.gif", FILEINFO_MIME_TYPE));
10var_dump($f->file(__DIR__ . "/bug67516.gif", FILEINFO_MIME));
11?>
12--EXPECT--
13string(9) "image/gif"
14string(25) "image/gif; charset=binary"
15