1--TEST--
2Test finfo extension : loading into phpinfo()
3--SKIPIF--
4<?php require_once(dirname(__FILE__) . '/skipif.inc'); ?>
5--FILE--
6<?php
7
8echo "*** Testing finfo extension : loading info phpinfo() ***\n";
9
10ob_start();
11echo phpinfo(8);
12$output = ob_get_clean();
13
14var_dump(preg_match("/fileinfo support => enabled/", $output));
15
16?>
17===DONE===
18--EXPECT--
19*** Testing finfo extension : loading info phpinfo() ***
20int(1)
21===DONE===
22