summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/imp_res_lob.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/oci8/tests/imp_res_lob.phpt')
-rw-r--r--ext/oci8/tests/imp_res_lob.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/oci8/tests/imp_res_lob.phpt b/ext/oci8/tests/imp_res_lob.phpt
index 247803581d..3e52fb117e 100644
--- a/ext/oci8/tests/imp_res_lob.phpt
+++ b/ext/oci8/tests/imp_res_lob.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: LOBs
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die ("skip no oci8 extension");
+<?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);
@@ -10,7 +10,7 @@ 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)) {
+if (!(isset($matches[0]) && $matches[0] >= 12)) {
die("skip works only with Oracle 12c or greater version of Oracle client libraries");
}
?>
@@ -35,7 +35,7 @@ $stmtarray = array(
open c1 for select * from imp_res_lob_tab order by 1;
dbms_sql.return_result(c1);
open c1 for select * from dual;
- dbms_sql.return_result(c1);
+ dbms_sql.return_result(c1);
open c1 for select c2 from imp_res_lob_tab order by c1;
dbms_sql.return_result(c1);
end;"
@@ -50,7 +50,7 @@ $s = oci_parse($c, "begin imp_res_lob_proc(); end;");
oci_execute($s);
while (($row = oci_fetch_row($s)) != false) {
foreach ($row as $item) {
- if (is_object($item)) {
+ if (is_object($item)) {
echo " " . $item->load();
} else {
echo " " . $item;
@@ -64,7 +64,7 @@ $s = oci_parse($c, "begin imp_res_lob_proc(); end;");
oci_execute($s);
$row = oci_fetch_row($s);
foreach ($row as $item) {
- if (is_object($item)) {
+ if (is_object($item)) {
echo " " . $item->load();
} else {
echo " " . $item;