xref: /PHP-7.2/ext/fileinfo/tests/bug67647.phpt (revision f1d7e3ca)
1--TEST--
2Bug #67647: Bundled libmagic 5.17 does not detect quicktime files correctly
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5--FILE--
6<?php
7
8$f = dirname(__FILE__) . DIRECTORY_SEPARATOR . "67647.mov";
9
10$fi = new finfo(FILEINFO_MIME_TYPE);
11var_dump($fi->file($f));
12?>
13+++DONE+++
14--EXPECT--
15string(15) "video/quicktime"
16+++DONE+++
17