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

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

Script

<?php 
if (!extension_loaded('oci8')) die ("skip no oci8 extension"); 
$target_dbs = array('oracledb' => true'timesten' => false);  // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/'oci_server_version($c), $matches);
if (!(isset(
$matches[0]) && $matches[1] >= 12)) {
    die(
"skip expected output only valid when using Oracle Database 12c or greater");
}
preg_match('/^[[:digit:]]+/'oci_client_version(), $matches);
if (!(isset(
$matches[0]) && $matches[0] >= 12)) { 
    die(
"skip works only with Oracle 12c or greater version of Oracle client libraries");
}
?>

Reason

expected output only valid when using Oracle Database 12c or greater

 

Generated at Mon, 20 Oct 2014 09:57:58 +0000 (21 hours ago)

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