1--TEST--
2Test FILEINFO_APPLE flag
3--EXTENSIONS--
4fileinfo
5--FILE--
6<?php
7
8$f = new finfo;
9var_dump($f->file(__DIR__ . "/resources/test.jpg", FILEINFO_APPLE));
10var_dump($f->file(__DIR__ . "/resources/test.gif", FILEINFO_APPLE));
11var_dump($f->file(__DIR__ . "/resources/test.ppt", FILEINFO_APPLE));
12
13?>
14--EXPECT--
15string(8) "8BIMJPEG"
16string(8) "8BIMGIFf"
17string(8) "????PPT3"
18