diff options
Diffstat (limited to 'ext/oci8/tests/refcur_prefetch_2.phpt')
-rw-r--r-- | ext/oci8/tests/refcur_prefetch_2.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/tests/refcur_prefetch_2.phpt b/ext/oci8/tests/refcur_prefetch_2.phpt index 586aece8f0..10f0764a7a 100644 --- a/ext/oci8/tests/refcur_prefetch_2.phpt +++ b/ext/oci8/tests/refcur_prefetch_2.phpt @@ -3,7 +3,7 @@ Prefetch with REF cursor. Test No 2 --SKIPIF-- <?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); if (!extension_loaded('oci8')) die("skip no oci8 extension"); -require(dirname(__FILE__)."/connect.inc"); +require(__DIR__."/connect.inc"); preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches); if (!(isset($matches[0]) && ($matches[1] >= 10))) { @@ -19,7 +19,7 @@ if (!(isset($matches[0]) && ?> --FILE-- <?php -require dirname(__FILE__)."/connect.inc"; +require __DIR__."/connect.inc"; // Creates the necessary package and tables. $stmtarray = array( |