![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Code coverage for PHP_MINFO_FUNCTION(oci) 3: --SKIPIF-- 4: <?php if (!extension_loaded('oci8')) die ("skip no oci8 extension"); ?> 5: --FILE-- 6: <?php 7: 8: ob_start(); 9: phpinfo(INFO_MODULES); 10: $v = ob_get_clean(); 11: $r = strpos($v, 'OCI8 Support => enabled'); 12: var_dump($r); 13: 14: echo "Done\n"; 15: 16: ?> 17: --EXPECTF-- 18: int(%d) 19: Done