PHP  
 PHP_5_4
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Skip Report for ext/oci8/tests/connect_without_oracle_home.phpt

Script

<?php 
if (!extension_loaded('oci8')) die("skip no oci8 extension"); 
ob_start();
phpinfo(INFO_MODULES);
$phpinfo ob_get_clean();
$ov preg_match('/Compile-time ORACLE_HOME/'$phpinfo);
if (
$ov !== 1) {
    die (
"skip Test only valid when OCI8 is built with an ORACLE_HOME");
}
$iv preg_match('/Oracle .*Version => (10\.2)/'$phpinfo);
if (
$iv != 1) {
    die (
"skip tests a feature that works only with Oracle 10gR2");
}
?>

Reason

tests a feature that works only with Oracle 10gR2

 

Generated at Fri, 24 Oct 2014 05:22:02 +0000 (19 hours ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.