1--TEST--
2Test FILEINFO_EXTENSION flag
3--EXTENSIONS--
4fileinfo
5--FILE--
6<?php
7
8$f = new finfo;
9var_dump($f->file(__DIR__ . "/resources/test.jpg", FILEINFO_EXTENSION));
10
11?>
12--EXPECT--
13string(17) "jpeg/jpg/jpe/jfif"
14