php-src/ext/oci8/tests/minfo.phpt
2008-05-13 00:05:09 +00:00

20 lines
309 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 = strpos($v, 'OCI8 Support => enabled');
var_dump($r);
echo "Done\n";
?>
--EXPECTF--
int(%d)
Done