mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00

Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
19 lines
397 B
PHP
19 lines
397 B
PHP
--TEST--
|
|
Test finfo extension : loading into phpinfo()
|
|
--SKIPIF--
|
|
<?php require_once(__DIR__ . '/skipif.inc'); ?>
|
|
--FILE--
|
|
<?php
|
|
|
|
echo "*** Testing finfo extension : loading info phpinfo() ***\n";
|
|
|
|
ob_start();
|
|
echo phpinfo(8);
|
|
$output = ob_get_clean();
|
|
|
|
var_dump(preg_match("/fileinfo support => enabled/", $output));
|
|
|
|
?>
|
|
--EXPECT--
|
|
*** Testing finfo extension : loading info phpinfo() ***
|
|
int(1)
|