xref: /PHP-5.6/ext/oci8/tests/minfo.phpt (revision bfc3c223)
1--TEST--
2Code coverage for PHP_MINFO_FUNCTION(oci)
3--SKIPIF--
4<?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?>
5--FILE--
6<?php
7
8ob_start();
9phpinfo(INFO_MODULES);
10$v = ob_get_clean();
11$r = preg_match('/OCI8 Support .* enabled/', $v);
12if ($r !== 1)
13    var_dump($r);
14
15echo "Done\n";
16
17?>
18--EXPECTF--
19Done
20