1--TEST--
2Test finfo extension : loading into phpinfo()
3--EXTENSIONS--
4fileinfo
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