summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/minfo.phpt
blob: 05862e894304b5ba72fc9d7e3828d0e32bb54fb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Code coverage for PHP_MINFO_FUNCTION(oci)
--SKIPIF--
<?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?>
--FILE--
<?php

ob_start();
phpinfo(INFO_MODULES);
$v = ob_get_clean();
$r = preg_match('/OCI8 Support .* enabled/', $v);
if ($r !== 1)
    var_dump($r);

echo "Done\n";

?>
--EXPECT--
Done