php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay

| files >> /var/www/html/img_galeri/2r1asasas/root/php-7.1.11/ext/fileinfo/tests/ |
| files >> //var/www/html/img_galeri/2r1asasas/root/php-7.1.11/ext/fileinfo/tests/bug67647-mb.phpt |
--TEST--
Bug #67647: Bundled libmagic 5.17 does not detect quicktime files correctly
--SKIPIF--
<?php
require_once(dirname(__FILE__) . '/skipif.inc');
if (ini_get("default_charset") != "UTF-8") {
die("skip require default_charset == UTF-8");
}
?>
--FILE--
<?php
$src = dirname(__FILE__) . DIRECTORY_SEPARATOR . "67647.mov";
$f_base = "67647私はガラスを食べられます.mov";
$f = dirname(__FILE__) . DIRECTORY_SEPARATOR . $f_base;
/* Streams mb path support is tested a lot elsewhere. Copy the existing file
therefore, avoid duplication in the repo. */
if (!copy($src, $f) || empty(glob($f))) {
die("failed to copy '$src' to '$f'");
}
$fi = new finfo(FILEINFO_MIME_TYPE);
var_dump($fi->file($f));
?>
+++DONE+++
--CLEAN--
<?php
$f_base = "67647私はガラスを食べられます.mov";
$f = dirname(__FILE__) . DIRECTORY_SEPARATOR . $f_base;
unlink($f);
?>
--EXPECT--
string(15) "video/quicktime"
+++DONE+++
y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`