xref: /PHP-5.3/ext/oci8/tests/minfo.phpt (revision 4e12fa4a)
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 = strpos($v, 'OCI8 Support => enabled');
12var_dump($r);
13
14echo "Done\n";
15
16?>
17--EXPECTF--
18int(%d)
19Done
20