php-src/ext/oci8/tests/minfo.phpt
2018-09-24 15:59:52 +10:00

20 lines
324 B
PHP

--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