diff options
Diffstat (limited to 'ext/oci8/tests/imp_res_5.phpt')
-rw-r--r-- | ext/oci8/tests/imp_res_5.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/tests/imp_res_5.phpt b/ext/oci8/tests/imp_res_5.phpt index 7c06dee78f..26107eda94 100644 --- a/ext/oci8/tests/imp_res_5.phpt +++ b/ext/oci8/tests/imp_res_5.phpt @@ -4,7 +4,7 @@ Oracle Database 12c Implicit Result Sets: oci_fetch_all <?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'); +require(__DIR__.'/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"); @@ -17,7 +17,7 @@ if (!(isset($matches[0]) && $matches[0] >= 12)) { --FILE-- <?php -require(dirname(__FILE__).'/connect.inc'); +require(__DIR__.'/connect.inc'); // Initialization |