xref: /PHP-5.6/ext/fileinfo/tests/bug67647.phpt (revision c9d0894e)
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
18