1--TEST--
2Test finfo extension : loading into phpinfo()
3--SKIPIF--
4<?php require_once(__DIR__ . '/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--EXPECT--
18*** Testing finfo extension : loading info phpinfo() ***
19int(1)
20