php-src/ext/fileinfo/tests/bug68398.phpt
2014-12-06 20:51:00 +01:00

16 lines
329 B
PHP

--TEST--
Bug #68398: msooxml matches too many archives
--SKIPIF--
<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
--FILE--
<?php
$f = new finfo(FILEINFO_MIME);
var_dump($f->file(dirname(__FILE__) . DIRECTORY_SEPARATOR . '68398.zip'));
?>
+++DONE+++
--EXPECTF--
string(31) "application/zip; charset=binary"
+++DONE+++