summaryrefslogtreecommitdiff
path: root/ext/oci8
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2018-09-24 13:27:27 +1000
committerChristopher Jones <sixd@php.net>2018-09-24 13:27:27 +1000
commita2c0f8722b90becea8e551822dad206552e82d44 (patch)
treeaad21c45d7b4ca6c0279eb3d3cac38ff930b9bad /ext/oci8
parenteceb34073b28f74f1ea6e659bea296664563189f (diff)
downloadphp-git-a2c0f8722b90becea8e551822dad206552e82d44.tar.gz
Remove trailing whitespace to help keep branches in sync
Diffstat (limited to 'ext/oci8')
-rw-r--r--ext/oci8/tests/array_bind_001.phpt10
-rw-r--r--ext/oci8/tests/array_bind_002.phpt8
-rw-r--r--ext/oci8/tests/array_bind_003.phpt10
-rw-r--r--ext/oci8/tests/array_bind_004.phpt10
-rw-r--r--ext/oci8/tests/array_bind_005.phpt10
-rw-r--r--ext/oci8/tests/array_bind_006.phpt10
-rw-r--r--ext/oci8/tests/array_bind_007.phpt8
-rw-r--r--ext/oci8/tests/array_bind_008.phpt10
-rw-r--r--ext/oci8/tests/array_bind_011.phpt8
-rw-r--r--ext/oci8/tests/array_bind_014.phpt10
-rw-r--r--ext/oci8/tests/array_bind_bdouble.phpt2
-rw-r--r--ext/oci8/tests/array_bind_bfloat.phpt2
-rw-r--r--ext/oci8/tests/array_bind_date.phpt10
-rw-r--r--ext/oci8/tests/array_bind_date1.phpt10
-rw-r--r--ext/oci8/tests/array_bind_float.phpt10
-rw-r--r--ext/oci8/tests/array_bind_float1.phpt10
-rw-r--r--ext/oci8/tests/array_bind_int.phpt10
-rw-r--r--ext/oci8/tests/array_bind_int1.phpt10
-rw-r--r--ext/oci8/tests/array_bind_str.phpt10
-rw-r--r--ext/oci8/tests/array_bind_str1.phpt10
-rw-r--r--ext/oci8/tests/array_bind_uin.phpt2
-rw-r--r--ext/oci8/tests/b47243_1.phpt2
-rw-r--r--ext/oci8/tests/b47243_2.phpt2
-rw-r--r--ext/oci8/tests/b47243_3.phpt2
-rw-r--r--ext/oci8/tests/bind_boolean_1.phpt12
-rw-r--r--ext/oci8/tests/bind_char_1.phpt4
-rw-r--r--ext/oci8/tests/bind_char_1_11gR1.phpt4
-rw-r--r--ext/oci8/tests/bind_char_2.phpt4
-rw-r--r--ext/oci8/tests/bind_char_2_11gR1.phpt4
-rw-r--r--ext/oci8/tests/bind_char_3_11gR1.phpt2
-rw-r--r--ext/oci8/tests/bind_char_4.phpt2
-rw-r--r--ext/oci8/tests/bind_char_4_11gR1.phpt2
-rw-r--r--ext/oci8/tests/bind_long.phpt2
-rw-r--r--ext/oci8/tests/bind_long_raw.phpt2
-rw-r--r--ext/oci8/tests/bind_misccoltypes.phpt2
-rw-r--r--ext/oci8/tests/bind_misccoltypes_errs.phpt8
-rw-r--r--ext/oci8/tests/bind_raw.phpt2
-rw-r--r--ext/oci8/tests/bind_raw_2.phpt2
-rw-r--r--ext/oci8/tests/bind_sqltchr_2.phpt4
-rw-r--r--ext/oci8/tests/bind_sqltnum.phpt2
-rw-r--r--ext/oci8/tests/bind_sqltnum_11g.phpt2
-rw-r--r--ext/oci8/tests/bind_unsupported_1.phpt2
-rw-r--r--ext/oci8/tests/bind_unsupported_2.phpt6
-rw-r--r--ext/oci8/tests/bind_unsupported_3.phpt6
-rw-r--r--ext/oci8/tests/bug26133.phpt2
-rw-r--r--ext/oci8/tests/bug32325.phpt2
-rw-r--r--ext/oci8/tests/bug35973.phpt2
-rw-r--r--ext/oci8/tests/bug36010.phpt2
-rw-r--r--ext/oci8/tests/bug36403.phpt2
-rw-r--r--ext/oci8/tests/bug37220.phpt22
-rw-r--r--ext/oci8/tests/bug37581.phpt2
-rw-r--r--ext/oci8/tests/bug38173.phpt2
-rw-r--r--ext/oci8/tests/bug40078.phpt2
-rw-r--r--ext/oci8/tests/bug40415.phpt16
-rw-r--r--ext/oci8/tests/bug41069.phpt4
-rw-r--r--ext/oci8/tests/bug42134.phpt2
-rw-r--r--ext/oci8/tests/bug42173.phpt2
-rw-r--r--ext/oci8/tests/bug42496_1.phpt2
-rw-r--r--ext/oci8/tests/bug42496_2.phpt2
-rw-r--r--ext/oci8/tests/bug42841.phpt30
-rw-r--r--ext/oci8/tests/bug43492.phpt2
-rw-r--r--ext/oci8/tests/bug43492_2.phpt2
-rw-r--r--ext/oci8/tests/bug43497.phpt2
-rw-r--r--ext/oci8/tests/bug44008.phpt2
-rw-r--r--ext/oci8/tests/bug44113.phpt2
-rw-r--r--ext/oci8/tests/bug44206.phpt4
-rw-r--r--ext/oci8/tests/bug46994.phpt2
-rw-r--r--ext/oci8/tests/bug47189.phpt8
-rw-r--r--ext/oci8/tests/bug47281.phpt4
-rw-r--r--ext/oci8/tests/bug51253.phpt10
-rw-r--r--ext/oci8/tests/bug51291_1.phpt14
-rw-r--r--ext/oci8/tests/bug51291_2.phpt4
-rw-r--r--ext/oci8/tests/bug68298.phpt2
-rw-r--r--ext/oci8/tests/bug70700.phpt2
-rw-r--r--ext/oci8/tests/bug71148.phpt2
-rw-r--r--ext/oci8/tests/bug71600.phpt6
-rw-r--r--ext/oci8/tests/coll_001.phpt2
-rw-r--r--ext/oci8/tests/coll_002.phpt2
-rw-r--r--ext/oci8/tests/coll_002_func.phpt2
-rw-r--r--ext/oci8/tests/coll_003.phpt2
-rw-r--r--ext/oci8/tests/coll_003_func.phpt2
-rw-r--r--ext/oci8/tests/coll_004.phpt2
-rw-r--r--ext/oci8/tests/coll_004_func.phpt2
-rw-r--r--ext/oci8/tests/coll_005.phpt2
-rw-r--r--ext/oci8/tests/coll_006.phpt2
-rw-r--r--ext/oci8/tests/coll_006_func.phpt2
-rw-r--r--ext/oci8/tests/coll_007.phpt2
-rw-r--r--ext/oci8/tests/coll_008.phpt2
-rw-r--r--ext/oci8/tests/coll_009.phpt4
-rw-r--r--ext/oci8/tests/coll_009_func.phpt4
-rw-r--r--ext/oci8/tests/coll_010.phpt4
-rw-r--r--ext/oci8/tests/coll_010_func.phpt4
-rw-r--r--ext/oci8/tests/coll_011.phpt4
-rw-r--r--ext/oci8/tests/coll_011_func.phpt4
-rw-r--r--ext/oci8/tests/coll_012.phpt4
-rw-r--r--ext/oci8/tests/coll_012_func.phpt4
-rw-r--r--ext/oci8/tests/coll_013.phpt4
-rw-r--r--ext/oci8/tests/coll_013_func.phpt4
-rw-r--r--ext/oci8/tests/coll_014.phpt4
-rw-r--r--ext/oci8/tests/coll_014_func.phpt4
-rw-r--r--ext/oci8/tests/coll_015.phpt4
-rw-r--r--ext/oci8/tests/coll_015_func.phpt4
-rw-r--r--ext/oci8/tests/coll_016.phpt4
-rw-r--r--ext/oci8/tests/coll_016_func.phpt4
-rw-r--r--ext/oci8/tests/coll_017.phpt4
-rw-r--r--ext/oci8/tests/coll_017_func.phpt4
-rw-r--r--ext/oci8/tests/coll_018.phpt2
-rw-r--r--ext/oci8/tests/coll_019.phpt4
-rw-r--r--ext/oci8/tests/commit_001.phpt2
-rw-r--r--ext/oci8/tests/commit_002.phpt2
-rw-r--r--ext/oci8/tests/commit_old.phpt2
-rw-r--r--ext/oci8/tests/conn_attr.inc28
-rw-r--r--ext/oci8/tests/conn_attr_1.phpt4
-rw-r--r--ext/oci8/tests/conn_attr_2.phpt4
-rw-r--r--ext/oci8/tests/conn_attr_3.phpt2
-rw-r--r--ext/oci8/tests/conn_attr_4.phpt4
-rw-r--r--ext/oci8/tests/conn_attr_5.phpt3
-rw-r--r--ext/oci8/tests/connect_scope1.phpt2
-rw-r--r--ext/oci8/tests/connect_scope2.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try1.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try2.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try3.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try4.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try5.phpt2
-rw-r--r--ext/oci8/tests/connect_scope_try6.phpt2
-rw-r--r--ext/oci8/tests/connect_without_oracle_home.phpt4
-rw-r--r--ext/oci8/tests/connect_without_oracle_home_11.phpt4
-rw-r--r--ext/oci8/tests/connect_without_oracle_home_old.phpt4
-rw-r--r--ext/oci8/tests/connect_without_oracle_home_old_11.phpt4
-rw-r--r--ext/oci8/tests/create_type.inc2
-rw-r--r--ext/oci8/tests/cursor_bind.phpt4
-rw-r--r--ext/oci8/tests/cursor_bind_err.phpt2
-rw-r--r--ext/oci8/tests/cursors.phpt2
-rw-r--r--ext/oci8/tests/cursors_old.phpt2
-rw-r--r--ext/oci8/tests/db_op_1.phpt10
-rw-r--r--ext/oci8/tests/db_op_2.phpt10
-rw-r--r--ext/oci8/tests/dbmsoutput.phpt2
-rw-r--r--ext/oci8/tests/define2.phpt4
-rw-r--r--ext/oci8/tests/define3.phpt6
-rw-r--r--ext/oci8/tests/define6.phpt4
-rw-r--r--ext/oci8/tests/descriptors.phpt2
-rw-r--r--ext/oci8/tests/drcp_cclass1.phpt6
-rw-r--r--ext/oci8/tests/drcp_conn_close1.phpt6
-rw-r--r--ext/oci8/tests/drcp_conn_close2.phpt6
-rw-r--r--ext/oci8/tests/drcp_connect1.phpt16
-rw-r--r--ext/oci8/tests/drcp_connection_class.phpt10
-rw-r--r--ext/oci8/tests/drcp_pconn_close1.phpt6
-rw-r--r--ext/oci8/tests/drcp_pconn_close2.phpt6
-rw-r--r--ext/oci8/tests/driver_name.phpt12
-rw-r--r--ext/oci8/tests/driver_name_11gR2.phpt12
-rw-r--r--ext/oci8/tests/drop_table.inc2
-rw-r--r--ext/oci8/tests/edition_1.phpt22
-rw-r--r--ext/oci8/tests/edition_2.phpt18
-rw-r--r--ext/oci8/tests/error.phpt2
-rw-r--r--ext/oci8/tests/error2.phpt2
-rw-r--r--ext/oci8/tests/error3.phpt10
-rw-r--r--ext/oci8/tests/error_bind.phpt4
-rw-r--r--ext/oci8/tests/error_bind_2.phpt6
-rw-r--r--ext/oci8/tests/error_bind_3.phpt6
-rw-r--r--ext/oci8/tests/error_old.phpt2
-rw-r--r--ext/oci8/tests/fetch_all2.phpt4
-rw-r--r--ext/oci8/tests/fetch_all3.phpt2
-rw-r--r--ext/oci8/tests/fetch_array.phpt2
-rw-r--r--ext/oci8/tests/fetch_into1.phpt2
-rw-r--r--ext/oci8/tests/fetch_into2.phpt2
-rw-r--r--ext/oci8/tests/fetch_object.phpt2
-rw-r--r--ext/oci8/tests/fetch_object_1.phpt2
-rw-r--r--ext/oci8/tests/field_funcs.phpt2
-rw-r--r--ext/oci8/tests/field_funcs_old.phpt2
-rw-r--r--ext/oci8/tests/imp_res_1.phpt6
-rw-r--r--ext/oci8/tests/imp_res_2.phpt6
-rw-r--r--ext/oci8/tests/imp_res_3.phpt6
-rw-r--r--ext/oci8/tests/imp_res_4.phpt6
-rw-r--r--ext/oci8/tests/imp_res_5.phpt6
-rw-r--r--ext/oci8/tests/imp_res_6.phpt6
-rw-r--r--ext/oci8/tests/imp_res_7.phpt6
-rw-r--r--ext/oci8/tests/imp_res_call_error.phpt6
-rw-r--r--ext/oci8/tests/imp_res_cancel.phpt6
-rw-r--r--ext/oci8/tests/imp_res_close.phpt6
-rw-r--r--ext/oci8/tests/imp_res_cursor.phpt6
-rw-r--r--ext/oci8/tests/imp_res_dbmsoutput.phpt6
-rw-r--r--ext/oci8/tests/imp_res_field.phpt6
-rw-r--r--ext/oci8/tests/imp_res_func_error.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_1.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_2.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_3.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_4.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_5.phpt8
-rw-r--r--ext/oci8/tests/imp_res_get_all.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_cancel.phpt8
-rw-r--r--ext/oci8/tests/imp_res_get_close_1.phpt8
-rw-r--r--ext/oci8/tests/imp_res_get_close_2.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_close_3.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_cursor.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_dbmsoutput.phpt8
-rw-r--r--ext/oci8/tests/imp_res_get_exec.phpt6
-rw-r--r--ext/oci8/tests/imp_res_get_none.phpt6
-rw-r--r--ext/oci8/tests/imp_res_insert.phpt6
-rw-r--r--ext/oci8/tests/imp_res_lob.phpt12
-rw-r--r--ext/oci8/tests/imp_res_prefetch.phpt6
-rw-r--r--ext/oci8/tests/ini_1.phpt6
-rw-r--r--ext/oci8/tests/lob_001.phptbin2152 -> 2151 bytes
-rw-r--r--ext/oci8/tests/lob_002.phpt2
-rw-r--r--ext/oci8/tests/lob_003.phptbin1698 -> 1697 bytes
-rw-r--r--ext/oci8/tests/lob_004.phpt2
-rw-r--r--ext/oci8/tests/lob_005.phpt2
-rw-r--r--ext/oci8/tests/lob_006.phptbin1766 -> 1765 bytes
-rw-r--r--ext/oci8/tests/lob_007.phpt2
-rw-r--r--ext/oci8/tests/lob_008.phpt2
-rw-r--r--ext/oci8/tests/lob_009.phpt2
-rw-r--r--ext/oci8/tests/lob_010.phpt2
-rw-r--r--ext/oci8/tests/lob_011.phpt2
-rw-r--r--ext/oci8/tests/lob_012.phpt4
-rw-r--r--ext/oci8/tests/lob_013.phpt2
-rw-r--r--ext/oci8/tests/lob_014.phpt4
-rw-r--r--ext/oci8/tests/lob_015.phpt2
-rw-r--r--ext/oci8/tests/lob_016.phpt2
-rw-r--r--ext/oci8/tests/lob_017.phpt2
-rw-r--r--ext/oci8/tests/lob_018.phpt2
-rw-r--r--ext/oci8/tests/lob_019.phptbin1618 -> 1617 bytes
-rw-r--r--ext/oci8/tests/lob_020.phptbin3146 -> 3145 bytes
-rw-r--r--ext/oci8/tests/lob_021.phpt4
-rw-r--r--ext/oci8/tests/lob_022.phpt2
-rw-r--r--ext/oci8/tests/lob_023.phpt2
-rw-r--r--ext/oci8/tests/lob_024.phpt2
-rw-r--r--ext/oci8/tests/lob_025.phpt2
-rw-r--r--ext/oci8/tests/lob_026.phpt2
-rw-r--r--ext/oci8/tests/lob_027.phpt2
-rw-r--r--ext/oci8/tests/lob_028.phpt2
-rw-r--r--ext/oci8/tests/lob_029.phpt2
-rw-r--r--ext/oci8/tests/lob_030.phpt2
-rw-r--r--ext/oci8/tests/lob_031.phpt2
-rw-r--r--ext/oci8/tests/lob_032.phpt2
-rw-r--r--ext/oci8/tests/lob_033.phpt2
-rw-r--r--ext/oci8/tests/lob_034.phpt2
-rw-r--r--ext/oci8/tests/lob_035.phpt4
-rw-r--r--ext/oci8/tests/lob_036.phpt2
-rw-r--r--ext/oci8/tests/lob_037.phpt2
-rw-r--r--ext/oci8/tests/lob_038.phpt2
-rw-r--r--ext/oci8/tests/lob_039.phpt2
-rw-r--r--ext/oci8/tests/lob_040.phpt6
-rw-r--r--ext/oci8/tests/lob_041.phpt2
-rw-r--r--ext/oci8/tests/lob_042.phpt6
-rw-r--r--ext/oci8/tests/lob_043.phpt2
-rw-r--r--ext/oci8/tests/lob_044.phpt2
-rw-r--r--ext/oci8/tests/lob_aliases.phpt2
-rw-r--r--ext/oci8/tests/lob_null.phpt20
-rw-r--r--ext/oci8/tests/lob_temp.phpt2
-rw-r--r--ext/oci8/tests/lob_temp1.phpt2
-rw-r--r--ext/oci8/tests/lob_temp2.phpt2
-rw-r--r--ext/oci8/tests/null_byte_2.phpt4
-rw-r--r--ext/oci8/tests/oci_execute_segfault.phpt2
-rw-r--r--ext/oci8/tests/password.phpt8
-rw-r--r--ext/oci8/tests/password_2.phpt8
-rw-r--r--ext/oci8/tests/pecl_bug10194.phpt4
-rw-r--r--ext/oci8/tests/pecl_bug10194_blob.phpt8
-rw-r--r--ext/oci8/tests/pecl_bug10194_blob_64.phpt8
-rw-r--r--ext/oci8/tests/pecl_bug16035.phpt4
-rw-r--r--ext/oci8/tests/pecl_bug16842.phpt2
-rw-r--r--ext/oci8/tests/pecl_bug8816.phpt6
-rw-r--r--ext/oci8/tests/refcur_prefetch_1.phpt6
-rw-r--r--ext/oci8/tests/refcur_prefetch_2.phpt6
-rw-r--r--ext/oci8/tests/refcur_prefetch_3.phpt4
-rw-r--r--ext/oci8/tests/refcur_prefetch_4.phpt6
-rw-r--r--ext/oci8/tests/statement_cache.phpt2
-rw-r--r--ext/oci8/tests/xmltype_01.phpt2
-rw-r--r--ext/oci8/tests/xmltype_02.phpt6
267 files changed, 623 insertions, 624 deletions
diff --git a/ext/oci8/tests/array_bind_001.phpt b/ext/oci8/tests/array_bind_001.phpt
index 0c1644152c..f1bee56b84 100644
--- a/ext/oci8/tests/array_bind_001.phpt
+++ b/ext/oci8/tests/array_bind_001.phpt
@@ -1,5 +1,5 @@
--TEST--
-oci_bind_array_by_name() and invalid values 1
+oci_bind_array_by_name() and invalid values 1
--SKIPIF--
<?php if (!extension_loaded('oci8')) die("skip no oci8 extension"); ?>
--FILE--
@@ -16,15 +16,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_001_PKG AS
- TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_001_PKG AS
+ TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_001_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_001_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_001_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_002.phpt b/ext/oci8/tests/array_bind_002.phpt
index d2b520c78e..f70ebb3f61 100644
--- a/ext/oci8/tests/array_bind_002.phpt
+++ b/ext/oci8/tests/array_bind_002.phpt
@@ -16,15 +16,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_002_PKG AS
- TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_002_PKG AS
+ TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_002_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_002_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_002_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_003.phpt b/ext/oci8/tests/array_bind_003.phpt
index bd391db93f..0de8e68187 100644
--- a/ext/oci8/tests/array_bind_003.phpt
+++ b/ext/oci8/tests/array_bind_003.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and invalid values 3
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_003_PKG AS
- TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_003_PKG AS
+ TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_003_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_003_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_003_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_004.phpt b/ext/oci8/tests/array_bind_004.phpt
index 7373903b6f..297229cab8 100644
--- a/ext/oci8/tests/array_bind_004.phpt
+++ b/ext/oci8/tests/array_bind_004.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and invalid values 4
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_004_PKG AS
- TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_004_PKG AS
+ TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_004_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_004_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_004_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_005.phpt b/ext/oci8/tests/array_bind_005.phpt
index 4a73e0ffc8..7aa87ec8e5 100644
--- a/ext/oci8/tests/array_bind_005.phpt
+++ b/ext/oci8/tests/array_bind_005.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and invalid values 5
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_005_PKG AS
- TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_005_PKG AS
+ TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_005_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_005_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_005_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_006.phpt b/ext/oci8/tests/array_bind_006.phpt
index cc24c2bd80..f2239f9d19 100644
--- a/ext/oci8/tests/array_bind_006.phpt
+++ b/ext/oci8/tests/array_bind_006.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name(), SQLT_CHR and default max_length
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_006_PKG AS
- TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_006_PKG AS
+ TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_006_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_006_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_006_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_007.phpt b/ext/oci8/tests/array_bind_007.phpt
index 6c9101b685..a3c63bca86 100644
--- a/ext/oci8/tests/array_bind_007.phpt
+++ b/ext/oci8/tests/array_bind_007.phpt
@@ -16,15 +16,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_007_PKG AS
- TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_007_PKG AS
+ TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_007_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_007_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_007_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_008.phpt b/ext/oci8/tests/array_bind_008.phpt
index 393316c22b..512ce05374 100644
--- a/ext/oci8/tests/array_bind_008.phpt
+++ b/ext/oci8/tests/array_bind_008.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and invalid values 8
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_008_PKG AS
- TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_008_PKG AS
+ TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_008_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_008_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_008_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_011.phpt b/ext/oci8/tests/array_bind_011.phpt
index 4c27bd06e2..90631619bc 100644
--- a/ext/oci8/tests/array_bind_011.phpt
+++ b/ext/oci8/tests/array_bind_011.phpt
@@ -16,15 +16,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_011_PKG AS
- TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_011_PKG AS
+ TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_011_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_011_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_011_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_014.phpt b/ext/oci8/tests/array_bind_014.phpt
index 8d9a21b697..51346263a3 100644
--- a/ext/oci8/tests/array_bind_014.phpt
+++ b/ext/oci8/tests/array_bind_014.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and NUMBERs
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_014_PKG AS
- TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_014_PKG AS
+ TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_014_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_014_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_014_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_bdouble.phpt b/ext/oci8/tests/array_bind_bdouble.phpt
index ba8ffe978e..d3f3490356 100644
--- a/ext/oci8/tests/array_bind_bdouble.phpt
+++ b/ext/oci8/tests/array_bind_bdouble.phpt
@@ -5,7 +5,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_BDOUBLE
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (!defined('SQLT_BDOUBLE')) die('skip SQLT_BDOUBLE type not available on older Oracle clients');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/array_bind_bfloat.phpt b/ext/oci8/tests/array_bind_bfloat.phpt
index afbcce38dc..4ec385f54f 100644
--- a/ext/oci8/tests/array_bind_bfloat.phpt
+++ b/ext/oci8/tests/array_bind_bfloat.phpt
@@ -5,7 +5,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_BFLOAT
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (!defined('SQLT_BFLOAT')) die('skip SQLT_BFLOAT type not available on older Oracle clients');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/array_bind_date.phpt b/ext/oci8/tests/array_bind_date.phpt
index 6a077b10b7..cc48779fd1 100644
--- a/ext/oci8/tests/array_bind_date.phpt
+++ b/ext/oci8/tests/array_bind_date.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_ODT
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_DATE_PKG AS
- TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_DATE_PKG AS
+ TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_DATE_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_DATE_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_DATE_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_date1.phpt b/ext/oci8/tests/array_bind_date1.phpt
index d8ecdb5a40..8e1aceaa06 100644
--- a/ext/oci8/tests/array_bind_date1.phpt
+++ b/ext/oci8/tests/array_bind_date1.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_ODT
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_DATE1_PKG AS
- TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_DATE1_PKG AS
+ TYPE ARRTYPE IS TABLE OF DATE INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_DATE1_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_DATE1_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_DATE1_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_float.phpt b/ext/oci8/tests/array_bind_float.phpt
index b35ca3de0e..a7cc87bc68 100644
--- a/ext/oci8/tests/array_bind_float.phpt
+++ b/ext/oci8/tests/array_bind_float.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_FLT
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_FLOAT_PKG AS
- TYPE ARRTYPE IS TABLE OF FLOAT INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_FLOAT_PKG AS
+ TYPE ARRTYPE IS TABLE OF FLOAT INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_FLOAT_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_FLOAT_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_FLOAT_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_float1.phpt b/ext/oci8/tests/array_bind_float1.phpt
index 7f755aa846..082262594b 100644
--- a/ext/oci8/tests/array_bind_float1.phpt
+++ b/ext/oci8/tests/array_bind_float1.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_FLT
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_FLOAT1_PKG AS
- TYPE ARRTYPE IS TABLE OF FLOAT INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_FLOAT1_PKG AS
+ TYPE ARRTYPE IS TABLE OF FLOAT INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_FLOAT1_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_FLOAT1_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_FLOAT1_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_int.phpt b/ext/oci8/tests/array_bind_int.phpt
index e4fc6676d0..0857477971 100644
--- a/ext/oci8/tests/array_bind_int.phpt
+++ b/ext/oci8/tests/array_bind_int.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_INT
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_INT_PKG AS
- TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_INT_PKG AS
+ TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_INT_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_INT_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_INT_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_int1.phpt b/ext/oci8/tests/array_bind_int1.phpt
index 6590e2fb3f..7a784bac61 100644
--- a/ext/oci8/tests/array_bind_int1.phpt
+++ b/ext/oci8/tests/array_bind_int1.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_INT
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_INT1_PKG AS
- TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_INT1_PKG AS
+ TYPE ARRTYPE IS TABLE OF NUMBER INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_INT1_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_INT1_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_INT1_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_str.phpt b/ext/oci8/tests/array_bind_str.phpt
index 84bcb48750..bda452fd02 100644
--- a/ext/oci8/tests/array_bind_str.phpt
+++ b/ext/oci8/tests/array_bind_str.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_CHR
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_STR_PKG AS
- TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_STR_PKG AS
+ TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_STR_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_STR_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_STR_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_str1.phpt b/ext/oci8/tests/array_bind_str1.phpt
index ab35ad79bd..9444786cbe 100644
--- a/ext/oci8/tests/array_bind_str1.phpt
+++ b/ext/oci8/tests/array_bind_str1.phpt
@@ -4,7 +4,7 @@ oci_bind_array_by_name() and SQLT_CHR
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE ARRAY_BIND_STR1_PKG AS
- TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE ARRAY_BIND_STR1_PKG AS
+ TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END ARRAY_BIND_STR1_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_STR1_PKG AS
+CREATE OR REPLACE PACKAGE BODY ARRAY_BIND_STR1_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/array_bind_uin.phpt b/ext/oci8/tests/array_bind_uin.phpt
index 0b9e982590..2542ee27df 100644
--- a/ext/oci8/tests/array_bind_uin.phpt
+++ b/ext/oci8/tests/array_bind_uin.phpt
@@ -4,7 +4,7 @@ Unsupported type: oci_bind_array_by_name() and SQLT_UIN
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/b47243_1.phpt b/ext/oci8/tests/b47243_1.phpt
index 2911229175..f6f348e445 100644
--- a/ext/oci8/tests/b47243_1.phpt
+++ b/ext/oci8/tests/b47243_1.phpt
@@ -4,7 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/b47243_2.phpt b/ext/oci8/tests/b47243_2.phpt
index ae96953d7b..7481d858c0 100644
--- a/ext/oci8/tests/b47243_2.phpt
+++ b/ext/oci8/tests/b47243_2.phpt
@@ -4,7 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/b47243_3.phpt b/ext/oci8/tests/b47243_3.phpt
index cc57c20d63..3d597cc388 100644
--- a/ext/oci8/tests/b47243_3.phpt
+++ b/ext/oci8/tests/b47243_3.phpt
@@ -4,7 +4,7 @@ Bug #47243 (Crash on exit with ZTS mode)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bind_boolean_1.phpt b/ext/oci8/tests/bind_boolean_1.phpt
index 49ac03c882..a080e7d7f7 100644
--- a/ext/oci8/tests/bind_boolean_1.phpt
+++ b/ext/oci8/tests/bind_boolean_1.phpt
@@ -1,15 +1,15 @@
--TEST--
Basic PL/SQL "BOOLEAN" (SQLT_BOL) bind test
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die ("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die ("skip no oci8 extension");
require(dirname(__FILE__).'/connect.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)) {
+if (!(isset($matches[0]) && $matches[0] >= 12)) {
die("skip works only with Oracle 12c or greater version of Oracle client libraries");
}
?>
@@ -46,7 +46,7 @@ var_dump($b);
echo "Test 3\n";
-$sql =
+$sql =
"begin
if (:input < 10) then
:output := true;
@@ -64,7 +64,7 @@ for ($input = 5; $input < 15; ++$input) {
echo "Test 4\n";
-$sql =
+$sql =
"begin
if (mod(:userid,2) = 0) then
:b := true;
@@ -82,7 +82,7 @@ for ($userid = 1; $userid <= 10; ++$userid) {
echo "Test 5\n";
-$sql =
+$sql =
"declare
l boolean;
begin
diff --git a/ext/oci8/tests/bind_char_1.phpt b/ext/oci8/tests/bind_char_1.phpt
index bb368fc7da..84ef14d957 100644
--- a/ext/oci8/tests/bind_char_1.phpt
+++ b/ext/oci8/tests/bind_char_1.phpt
@@ -26,7 +26,7 @@ $stmtarray = array(
"insert into bind_char_tab values (2, NULL, 'abc')",
"insert into bind_char_tab values (3, NULL, 'abc ')"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@@ -196,7 +196,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
diff --git a/ext/oci8/tests/bind_char_1_11gR1.phpt b/ext/oci8/tests/bind_char_1_11gR1.phpt
index 5b22cdc8c4..317a1db901 100644
--- a/ext/oci8/tests/bind_char_1_11gR1.phpt
+++ b/ext/oci8/tests/bind_char_1_11gR1.phpt
@@ -28,7 +28,7 @@ $stmtarray = array(
"insert into bind_char_tab values (2, NULL, 'abc')",
"insert into bind_char_tab values (3, NULL, 'abc ')"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@@ -198,7 +198,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
diff --git a/ext/oci8/tests/bind_char_2.phpt b/ext/oci8/tests/bind_char_2.phpt
index 57b0c610f1..3f925e3bbd 100644
--- a/ext/oci8/tests/bind_char_2.phpt
+++ b/ext/oci8/tests/bind_char_2.phpt
@@ -25,7 +25,7 @@ $stmtarray = array(
"create table bind_char_tab (id number, c1 date)",
"insert into bind_char_tab values (1, '2008-04-20')",
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@@ -85,7 +85,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
diff --git a/ext/oci8/tests/bind_char_2_11gR1.phpt b/ext/oci8/tests/bind_char_2_11gR1.phpt
index 438885e12a..2395b83b88 100644
--- a/ext/oci8/tests/bind_char_2_11gR1.phpt
+++ b/ext/oci8/tests/bind_char_2_11gR1.phpt
@@ -25,7 +25,7 @@ $stmtarray = array(
"create table bind_char_tab (id number, c1 date)",
"insert into bind_char_tab values (1, '2008-04-20')",
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Run Test
@@ -85,7 +85,7 @@ function do_e_q($s)
$stmtarray = array(
"drop table bind_char_tab"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
diff --git a/ext/oci8/tests/bind_char_3_11gR1.phpt b/ext/oci8/tests/bind_char_3_11gR1.phpt
index af0ad4e682..8d4707fadd 100644
--- a/ext/oci8/tests/bind_char_3_11gR1.phpt
+++ b/ext/oci8/tests/bind_char_3_11gR1.phpt
@@ -22,7 +22,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"create or replace function bind_char_3_fn(p1 char) return char as begin return p1; end;",
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/bind_char_4.phpt b/ext/oci8/tests/bind_char_4.phpt
index b8f2284830..fbc13b4a25 100644
--- a/ext/oci8/tests/bind_char_4.phpt
+++ b/ext/oci8/tests/bind_char_4.phpt
@@ -24,7 +24,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"create or replace function bind_char_3_fn(p1 varchar2) return varchar2 as begin return p1; end;",
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/bind_char_4_11gR1.phpt b/ext/oci8/tests/bind_char_4_11gR1.phpt
index 646b3317a1..96fcb1e51c 100644
--- a/ext/oci8/tests/bind_char_4_11gR1.phpt
+++ b/ext/oci8/tests/bind_char_4_11gR1.phpt
@@ -24,7 +24,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"create or replace function bind_char_3_fn(p1 varchar2) return varchar2 as begin return p1; end;",
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/bind_long.phpt b/ext/oci8/tests/bind_long.phpt
index cbd83128cb..ca19e7edfd 100644
--- a/ext/oci8/tests/bind_long.phpt
+++ b/ext/oci8/tests/bind_long.phpt
@@ -4,7 +4,7 @@ bind LONG field
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bind_long_raw.phpt b/ext/oci8/tests/bind_long_raw.phpt
index e48bbd33ee..d1a903899c 100644
--- a/ext/oci8/tests/bind_long_raw.phpt
+++ b/ext/oci8/tests/bind_long_raw.phpt
@@ -4,7 +4,7 @@ bind LONG RAW field
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bind_misccoltypes.phpt b/ext/oci8/tests/bind_misccoltypes.phpt
index 9e55b3b1ff..703bd28c24 100644
--- a/ext/oci8/tests/bind_misccoltypes.phpt
+++ b/ext/oci8/tests/bind_misccoltypes.phpt
@@ -4,7 +4,7 @@ Bind miscellaneous column types using default types
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bind_misccoltypes_errs.phpt b/ext/oci8/tests/bind_misccoltypes_errs.phpt
index 20401fb8ea..d1ba41b2c3 100644
--- a/ext/oci8/tests/bind_misccoltypes_errs.phpt
+++ b/ext/oci8/tests/bind_misccoltypes_errs.phpt
@@ -45,7 +45,7 @@ function check_col($c, $colname, $id)
// Tests
-echo "\nTest 1 insert numbers \n";
+echo "\nTest 1 insert numbers\n";
$n1 = -23253245.3432467;
@@ -55,7 +55,7 @@ oci_execute($s);
check_col($c, 'number_t6', 57);
-echo "\nTest 2 insert numbers \n";
+echo "\nTest 2 insert numbers\n";
$n1 = "Hello";
@@ -119,7 +119,7 @@ oci_close($c);
===DONE===
<?php exit(0); ?>
--EXPECTF--
-Test 1 insert numbers
+Test 1 insert numbers
Warning: oci_execute(): ORA-01438: %s in %sbind_misccoltypes_errs.php on line %d
array(1) {
@@ -128,7 +128,7 @@ array(1) {
}
}
-Test 2 insert numbers
+Test 2 insert numbers
Warning: oci_execute(): ORA-01722: %s in %sbind_misccoltypes_errs.php on line %d
array(1) {
diff --git a/ext/oci8/tests/bind_raw.phpt b/ext/oci8/tests/bind_raw.phpt
index c2e8e08768..a6e6259eef 100644
--- a/ext/oci8/tests/bind_raw.phpt
+++ b/ext/oci8/tests/bind_raw.phpt
@@ -4,7 +4,7 @@ bind RAW field
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bind_raw_2.phpt b/ext/oci8/tests/bind_raw_2.phpt
index 035c184892..d30219acdd 100644
--- a/ext/oci8/tests/bind_raw_2.phpt
+++ b/ext/oci8/tests/bind_raw_2.phpt
@@ -4,7 +4,7 @@ bind RAW field with OCI_B_BIN
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bind_sqltchr_2.phpt b/ext/oci8/tests/bind_sqltchr_2.phpt
index 47d08d2bc3..51d588f92c 100644
--- a/ext/oci8/tests/bind_sqltchr_2.phpt
+++ b/ext/oci8/tests/bind_sqltchr_2.phpt
@@ -14,7 +14,7 @@ $stmtarray = array(
as
begin
msg_out := upper(msg_in);
- end;"
+ end;"
);
@@ -23,7 +23,7 @@ oci8_test_sql_execute($c, $stmtarray);
// Run Test
echo "Test 1 - PL/SQL IN and OUT variables\n";
-
+
$stmt = oci_parse($c, "BEGIN bind_sqltchr_proc(:a, :b); END;");
$msg_in = "Cat got your keyboard?";
oci_bind_by_name($stmt, ":a", $msg_in, -1, SQLT_CHR);
diff --git a/ext/oci8/tests/bind_sqltnum.phpt b/ext/oci8/tests/bind_sqltnum.phpt
index 6612745e57..5e75a176a8 100644
--- a/ext/oci8/tests/bind_sqltnum.phpt
+++ b/ext/oci8/tests/bind_sqltnum.phpt
@@ -4,7 +4,7 @@ Bind with SQLT_NUM
<?php
if (!extension_loaded('oci8')) die("skip no oci8 extension");
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");
}
?>
diff --git a/ext/oci8/tests/bind_sqltnum_11g.phpt b/ext/oci8/tests/bind_sqltnum_11g.phpt
index 1969893604..3f4a1411a8 100644
--- a/ext/oci8/tests/bind_sqltnum_11g.phpt
+++ b/ext/oci8/tests/bind_sqltnum_11g.phpt
@@ -4,7 +4,7 @@ Bind with SQLT_NUM
<?php
if (!extension_loaded('oci8')) die("skip no oci8 extension");
preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
-if (!(isset($matches[0]) && $matches[0] <= 11)) {
+if (!(isset($matches[0]) && $matches[0] <= 11)) {
die("skip works only with Oracle 11 or earlier version of Oracle client libraries");
}
?>
diff --git a/ext/oci8/tests/bind_unsupported_1.phpt b/ext/oci8/tests/bind_unsupported_1.phpt
index 544b446788..ba125d99fc 100644
--- a/ext/oci8/tests/bind_unsupported_1.phpt
+++ b/ext/oci8/tests/bind_unsupported_1.phpt
@@ -27,7 +27,7 @@ foreach ($types as $t => $v) {
$s = oci_parse($c, "select * from dual where dummy = :c1");
$c1 = "Doug";
- oci_bind_by_name($s, ":c1", $c1, -1, $v);
+ oci_bind_by_name($s, ":c1", $c1, -1, $v);
}
?>
diff --git a/ext/oci8/tests/bind_unsupported_2.phpt b/ext/oci8/tests/bind_unsupported_2.phpt
index b4e2c9b43d..9d0a33df6a 100644
--- a/ext/oci8/tests/bind_unsupported_2.phpt
+++ b/ext/oci8/tests/bind_unsupported_2.phpt
@@ -1,8 +1,8 @@
--TEST--
Bind with various unsupported 10g+ bind types
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
?>
--FILE--
<?php
@@ -20,7 +20,7 @@ foreach ($types as $t => $v) {
$s = oci_parse($c, "select * from dual where dummy = :c1");
$c1 = "Doug";
- oci_bind_by_name($s, ":c1", $c1, -1, $v);
+ oci_bind_by_name($s, ":c1", $c1, -1, $v);
}
?>
diff --git a/ext/oci8/tests/bind_unsupported_3.phpt b/ext/oci8/tests/bind_unsupported_3.phpt
index 5c9dec3729..48b719aa54 100644
--- a/ext/oci8/tests/bind_unsupported_3.phpt
+++ b/ext/oci8/tests/bind_unsupported_3.phpt
@@ -1,10 +1,10 @@
--TEST--
-Bind with various bind types not supported by TimesTen
+Bind with various bind types not supported by TimesTen
--SKIPIF--
<?php
$target_dbs = array('oracledb' => false, 'timesten' => true); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -23,7 +23,7 @@ foreach ($types as $t => $v) {
$s = oci_parse($c, "select * from dual where dummy = :c1");
$c1 = "Doug";
- oci_bind_by_name($s, ":c1", $c1, -1, $v);
+ oci_bind_by_name($s, ":c1", $c1, -1, $v);
}
?>
diff --git a/ext/oci8/tests/bug26133.phpt b/ext/oci8/tests/bug26133.phpt
index 59f8a17f38..2da5d483d0 100644
--- a/ext/oci8/tests/bug26133.phpt
+++ b/ext/oci8/tests/bug26133.phpt
@@ -36,7 +36,7 @@ $stmtarray = array(
);
oci8_test_sql_execute($c, $stmtarray);
-
+
echo "Done\n";
?>
--EXPECT--
diff --git a/ext/oci8/tests/bug32325.phpt b/ext/oci8/tests/bug32325.phpt
index 854e5c1590..906195c60f 100644
--- a/ext/oci8/tests/bug32325.phpt
+++ b/ext/oci8/tests/bug32325.phpt
@@ -4,7 +4,7 @@ Bug #32325 (Cannot retrieve collection using OCI8)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug35973.phpt b/ext/oci8/tests/bug35973.phpt
index 3f4299ea29..399391b8e9 100644
--- a/ext/oci8/tests/bug35973.phpt
+++ b/ext/oci8/tests/bug35973.phpt
@@ -4,7 +4,7 @@ Bug #35973 (Error ORA-24806 occurs when trying to fetch a NCLOB field)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug36010.phpt b/ext/oci8/tests/bug36010.phpt
index 3ad49ecad8..ec382d27ba 100644
--- a/ext/oci8/tests/bug36010.phpt
+++ b/ext/oci8/tests/bug36010.phpt
@@ -4,7 +4,7 @@ Bug #36010 (Crash when executing SQL statement with lob parameter twice)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug36403.phpt b/ext/oci8/tests/bug36403.phpt
index 122b06bbfa..96ca57380f 100644
--- a/ext/oci8/tests/bug36403.phpt
+++ b/ext/oci8/tests/bug36403.phpt
@@ -2,7 +2,7 @@
Bug #36403 (oci_execute no longer supports OCI_DESCRIBE_ONLY)
--SKIPIF--
<?php
-if (!extension_loaded('oci8')) die ("skip no oci8 extension");
+if (!extension_loaded('oci8')) die ("skip no oci8 extension");
?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug37220.phpt b/ext/oci8/tests/bug37220.phpt
index fd91dc73d6..da4a8968f3 100644
--- a/ext/oci8/tests/bug37220.phpt
+++ b/ext/oci8/tests/bug37220.phpt
@@ -4,7 +4,7 @@ Bug #37220 (LOB Type mismatch when using windows & oci8.dll)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -23,21 +23,21 @@ oci8_test_sql_execute($c, $stmtarray);
// 'THETAG' to 'MYTAG' (mycolumn is an XMLTYPE datatype and
// bug37220_tab a normal Oracle table)
-$query = "UPDATE bug37220_tab
- SET bug37220_tab.mycolumn = updateXML(bug37220_tab.mycolumn,'/THETAG',xmltype.createXML(:data))
- WHERE existsNode(bug37220_tab.mycolumn,'/THETAG[@myID=\"1234\"]') = 1";
-$stmt = oci_parse ($c, $query);
-$clob = oci_new_descriptor($c, OCI_D_LOB);
-oci_bind_by_name($stmt, ':data', $clob, -1, OCI_B_CLOB);
-$clob->writetemporary("<MYTAG/>", OCI_TEMP_CLOB);
-$success = oci_execute($stmt, OCI_COMMIT_ON_SUCCESS);
+$query = "UPDATE bug37220_tab
+ SET bug37220_tab.mycolumn = updateXML(bug37220_tab.mycolumn,'/THETAG',xmltype.createXML(:data))
+ WHERE existsNode(bug37220_tab.mycolumn,'/THETAG[@myID=\"1234\"]') = 1";
+$stmt = oci_parse ($c, $query);
+$clob = oci_new_descriptor($c, OCI_D_LOB);
+oci_bind_by_name($stmt, ':data', $clob, -1, OCI_B_CLOB);
+$clob->writetemporary("<MYTAG/>", OCI_TEMP_CLOB);
+$success = oci_execute($stmt, OCI_COMMIT_ON_SUCCESS);
oci_free_statement($stmt);
-$clob->close();
+$clob->close();
// Query back the change
$query = "select * from bug37220_tab";
-$stmt = oci_parse ($c, $query);
+$stmt = oci_parse ($c, $query);
oci_execute($stmt);
diff --git a/ext/oci8/tests/bug37581.phpt b/ext/oci8/tests/bug37581.phpt
index a1eeafc761..39d1168059 100644
--- a/ext/oci8/tests/bug37581.phpt
+++ b/ext/oci8/tests/bug37581.phpt
@@ -4,7 +4,7 @@ Bug #37581 (oci_bind_array_by_name clobbers input array when using SQLT_AFC, AVC
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug38173.phpt b/ext/oci8/tests/bug38173.phpt
index 901f6f7bfc..dd11315b67 100644
--- a/ext/oci8/tests/bug38173.phpt
+++ b/ext/oci8/tests/bug38173.phpt
@@ -4,7 +4,7 @@ Bug #38173 (Freeing nested cursors causes OCI8 to segfault)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug40078.phpt b/ext/oci8/tests/bug40078.phpt
index d9b54e295f..26c175748b 100644
--- a/ext/oci8/tests/bug40078.phpt
+++ b/ext/oci8/tests/bug40078.phpt
@@ -4,7 +4,7 @@ Bug #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name())
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug40415.phpt b/ext/oci8/tests/bug40415.phpt
index fcccfe716f..0530c9c593 100644
--- a/ext/oci8/tests/bug40415.phpt
+++ b/ext/oci8/tests/bug40415.phpt
@@ -4,9 +4,9 @@ Bug #40415 (Using oci_fetchall with nested cursors)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
-<?php
+<?php
require dirname(__FILE__)."/connect.inc";
@@ -40,13 +40,13 @@ for($i=1; $i < 4; $i++) {
}
-function do_assoc($c)
+function do_assoc($c)
{
$query = "SELECT t1.*, CURSOR( SELECT * FROM t2 ) AS CURSOR FROM t1";
$stmt = oci_parse($c, $query);
oci_execute($stmt);
-
+
while ($row = oci_fetch_assoc($stmt)) {
print "Got row \"".$row['ID1']."\". Now getting nested cursor:\n";
var_dump(oci_execute($row['CURSOR']));
@@ -56,15 +56,15 @@ function do_assoc($c)
}
}
-function do_all($c)
+function do_all($c)
{
$query = "SELECT t1.*, CURSOR( SELECT * FROM t2 ) AS CURSOR FROM t1";
$stmt = oci_parse($c, $query);
oci_execute($stmt);
-
+
$rc1 = oci_fetch_all($stmt, $res);
-
+
echo "Rows returned $rc1\n";
var_dump($res);
@@ -86,7 +86,7 @@ echo "\nTest 2: fetchall of nested cursor\n";
do_all($c);
-// Cleanup
+// Cleanup
$s1 = oci_parse($c, $drop_1);
$s2 = oci_parse($c, $drop_2);
@oci_execute($s1);
diff --git a/ext/oci8/tests/bug41069.phpt b/ext/oci8/tests/bug41069.phpt
index 5daa46d6f1..29f579448e 100644
--- a/ext/oci8/tests/bug41069.phpt
+++ b/ext/oci8/tests/bug41069.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #41069 (Oracle crash with certain data over a DB-link when prefetch memory limit used - Oracle bug 6039623)
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (empty($dbase)) die ("skip requires network connection alias for DB link loopback");
@@ -51,7 +51,7 @@ $stmtarray = array(
"insert into bug41069_tab (c1, c2, c3, c4, c5, c6, c7, c9, c10, c12, c15) values
(113, 'aaaaaaa', 'bbbbbbbbbb', 'cccccc', 'e', 'f', 'dddd', '12/04/2006', '12/04/2006', 2224, 'zzzzzzz')"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
diff --git a/ext/oci8/tests/bug42134.phpt b/ext/oci8/tests/bug42134.phpt
index 10b7ef160d..63091100a1 100644
--- a/ext/oci8/tests/bug42134.phpt
+++ b/ext/oci8/tests/bug42134.phpt
@@ -4,7 +4,7 @@ Bug #42134 (Collection error for invalid collection name)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug42173.phpt b/ext/oci8/tests/bug42173.phpt
index d5e2f70c19..67196dafda 100644
--- a/ext/oci8/tests/bug42173.phpt
+++ b/ext/oci8/tests/bug42173.phpt
@@ -4,7 +4,7 @@ Bug #42173 (TIMESTAMP and INTERVAL query and field functions)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug42496_1.phpt b/ext/oci8/tests/bug42496_1.phpt
index d430474fab..a332b7d4ea 100644
--- a/ext/oci8/tests/bug42496_1.phpt
+++ b/ext/oci8/tests/bug42496_1.phpt
@@ -5,7 +5,7 @@ Bug #42496 (LOB fetch leaks cursors, eventually failing with ORA-1000 maximum op
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug42496_2.phpt b/ext/oci8/tests/bug42496_2.phpt
index 71854f3d46..2f002296cb 100644
--- a/ext/oci8/tests/bug42496_2.phpt
+++ b/ext/oci8/tests/bug42496_2.phpt
@@ -5,7 +5,7 @@ Bug #42496 (LOB fetch leaks cursors, eventually failing with ORA-1000 maximum op
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug42841.phpt b/ext/oci8/tests/bug42841.phpt
index a86d1ca847..140403ce27 100644
--- a/ext/oci8/tests/bug42841.phpt
+++ b/ext/oci8/tests/bug42841.phpt
@@ -4,7 +4,7 @@ Bug #42841 (REF CURSOR and oci_new_cursor PHP crash)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--INI--
oci8.statement_cache_size=20
--FILE--
@@ -24,10 +24,10 @@ $stmtarray = array(
end bug42841_proc;",
"create or replace package bug43449_pkg is
- type cursortype is ref Cursor;
+ type cursortype is ref Cursor;
function testcursor return cursortype;
end bug43449_pkg;",
-
+
"create or replace package body bug43449_pkg is
function testcursor return cursortype is
retCursor cursorType;
@@ -50,32 +50,32 @@ function do_bug42841($c)
$stmt = oci_parse($c, $sql);
$cursor = oci_new_cursor($c);
oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
-
+
oci_execute($stmt, OCI_DEFAULT);
oci_execute($cursor);
-
+
while($row = oci_fetch_array($cursor, OCI_ASSOC + OCI_RETURN_LOBS)) {
$data1[] = $row;
}
-
+
oci_free_statement($stmt);
oci_free_statement($cursor);
var_dump($data1);
-
+
echo "Second attempt\n";
-
+
$sql = "BEGIN bug42841_proc(:cursor); END;";
$stmt = oci_parse($c, $sql);
$cursor = oci_new_cursor($c);
oci_bind_by_name($stmt, ":cursor", $cursor, -1, OCI_B_CURSOR);
-
+
oci_execute($stmt, OCI_DEFAULT);
oci_execute($cursor);
-
+
while($row = oci_fetch_array($cursor, OCI_ASSOC + OCI_RETURN_LOBS)) {
$data2[] = $row;
}
-
+
oci_free_statement($stmt);
oci_free_statement($cursor);
var_dump($data2);
@@ -90,19 +90,19 @@ function do_bug43449($c)
}
function bug43449_getCur($c)
-{
+{
$cur = oci_new_cursor($c);
$stmt = oci_parse($c, 'begin :cur := bug43449_pkg.testcursor; end;');
oci_bind_by_name($stmt, ':cur', $cur, -1, OCI_B_CURSOR);
oci_execute($stmt, OCI_DEFAULT);
oci_execute($cur, OCI_DEFAULT);
-
+
$ret = array();
-
+
while (ocifetchinto($cur, $row, OCI_ASSOC)) {
$ret[] = $row;
}
-
+
oci_free_statement($cur);
oci_free_statement($stmt);
return $ret;
diff --git a/ext/oci8/tests/bug43492.phpt b/ext/oci8/tests/bug43492.phpt
index e84fa42556..7c91ea22b6 100644
--- a/ext/oci8/tests/bug43492.phpt
+++ b/ext/oci8/tests/bug43492.phpt
@@ -4,7 +4,7 @@ Bug #43492 (Nested cursor leaks)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug43492_2.phpt b/ext/oci8/tests/bug43492_2.phpt
index d735f64299..d0bab520f5 100644
--- a/ext/oci8/tests/bug43492_2.phpt
+++ b/ext/oci8/tests/bug43492_2.phpt
@@ -4,7 +4,7 @@ Bug #43492 (Nested cursor leaks after related bug #44206 fixed)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug43497.phpt b/ext/oci8/tests/bug43497.phpt
index e3e68aac33..6171127591 100644
--- a/ext/oci8/tests/bug43497.phpt
+++ b/ext/oci8/tests/bug43497.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #43497 (OCI8 XML/getClobVal aka temporary LOBs leak UGA memory)
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
diff --git a/ext/oci8/tests/bug44008.phpt b/ext/oci8/tests/bug44008.phpt
index faacdc6254..c9930f2439 100644
--- a/ext/oci8/tests/bug44008.phpt
+++ b/ext/oci8/tests/bug44008.phpt
@@ -4,7 +4,7 @@ Bug #44008 (Incorrect usage of OCI-Lob->close crashes PHP)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug44113.phpt b/ext/oci8/tests/bug44113.phpt
index d441715616..d05a86b52c 100644
--- a/ext/oci8/tests/bug44113.phpt
+++ b/ext/oci8/tests/bug44113.phpt
@@ -1,7 +1,7 @@
--TEST--
Bug #44113 (New collection creation can fail with OCI-22303)
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
diff --git a/ext/oci8/tests/bug44206.phpt b/ext/oci8/tests/bug44206.phpt
index 63805bf6e3..20c92b0f64 100644
--- a/ext/oci8/tests/bug44206.phpt
+++ b/ext/oci8/tests/bug44206.phpt
@@ -4,7 +4,7 @@ Bug #44206 (Test if selecting ref cursors leads to ORA-1000 maximum open cursors
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -15,7 +15,7 @@ require dirname(__FILE__).'/connect.inc';
for ($x = 0; $x < 400; $x++)
{
$stmt = "select cursor (select $x from dual) a,
- cursor (select $x from dual) b
+ cursor (select $x from dual) b
from dual";
$s = oci_parse($c, $stmt);
$r = oci_execute($s);
diff --git a/ext/oci8/tests/bug46994.phpt b/ext/oci8/tests/bug46994.phpt
index 604b57f262..8a557c508b 100644
--- a/ext/oci8/tests/bug46994.phpt
+++ b/ext/oci8/tests/bug46994.phpt
@@ -4,7 +4,7 @@ Bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored pro
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/bug47189.phpt b/ext/oci8/tests/bug47189.phpt
index c82d2cd73b..07c3a9e338 100644
--- a/ext/oci8/tests/bug47189.phpt
+++ b/ext/oci8/tests/bug47189.phpt
@@ -1,10 +1,10 @@
--TEST--
-Bug #47189 (Multiple oci_fetch_all calls)
+Bug #47189 (Multiple oci_fetch_all calls)
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error handling for this undefined behavior
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -17,7 +17,7 @@ oci_execute($s);
oci_fetch_all($s, $rs, 0, -1, OCI_FETCHSTATEMENT_BY_ROW);
var_dump($rs);
oci_fetch_all($s, $rs1, 0, -1, OCI_FETCHSTATEMENT_BY_ROW);
-var_dump($rs1);
+var_dump($rs1);
echo "Test 2\n";
@@ -26,7 +26,7 @@ oci_execute($s);
oci_fetch_all($s, $rs, 0, 1, OCI_FETCHSTATEMENT_BY_ROW);
var_dump($rs);
oci_fetch_all($s, $rs1, 0, 1, OCI_FETCHSTATEMENT_BY_ROW);
-var_dump($rs1);
+var_dump($rs1);
?>
===DONE===
diff --git a/ext/oci8/tests/bug47281.phpt b/ext/oci8/tests/bug47281.phpt
index 0990a95f3b..60590ca092 100644
--- a/ext/oci8/tests/bug47281.phpt
+++ b/ext/oci8/tests/bug47281.phpt
@@ -12,7 +12,7 @@ if (!isset($matches[0]) ||
)) {
die("skip test works only with Oracle 11.2.0.2 or earlier Oracle client libraries");
}
-?>
+?>
--ENV--
NLS_LANG=.AL32UTF8
--FILE--
@@ -25,7 +25,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"create or replace procedure bug47281_sp as
begin
- raise_application_error(-20000,
+ raise_application_error(-20000,
'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaBcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccDeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeFggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggggghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhIjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjKlllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllM');
end;"
);
diff --git a/ext/oci8/tests/bug51253.phpt b/ext/oci8/tests/bug51253.phpt
index b38bc7606b..b25d393ee2 100644
--- a/ext/oci8/tests/bug51253.phpt
+++ b/ext/oci8/tests/bug51253.phpt
@@ -4,7 +4,7 @@ Bug #51253 (oci_bind_array_by_name() array references)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -19,15 +19,15 @@ $statement = oci_parse($c, $create);
oci_execute($statement);
$create_pkg = "
-CREATE OR REPLACE PACKAGE BUG51253_PKG AS
- TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
- PROCEDURE iobind(c1 IN OUT ARRTYPE);
+CREATE OR REPLACE PACKAGE BUG51253_PKG AS
+ TYPE ARRTYPE IS TABLE OF VARCHAR(20) INDEX BY BINARY_INTEGER;
+ PROCEDURE iobind(c1 IN OUT ARRTYPE);
END BUG51253_PKG;";
$statement = oci_parse($c, $create_pkg);
oci_execute($statement);
$create_pkg_body = "
-CREATE OR REPLACE PACKAGE BODY BUG51253_PKG AS
+CREATE OR REPLACE PACKAGE BODY BUG51253_PKG AS
CURSOR CUR IS SELECT name FROM bind_test;
PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
BEGIN
diff --git a/ext/oci8/tests/bug51291_1.phpt b/ext/oci8/tests/bug51291_1.phpt
index 789b94ea05..e9e409433d 100644
--- a/ext/oci8/tests/bug51291_1.phpt
+++ b/ext/oci8/tests/bug51291_1.phpt
@@ -29,7 +29,7 @@ echo "\nTest 3 - Execute\n";
$s = @oci_parse($c, 'select doesnotexist from dual');
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error($s));
echo "2nd call\n";
var_dump(oci_error($s));
@@ -39,7 +39,7 @@ echo "\nTest 4 - Execute - consecutive oci_error calls of different kinds\n";
$s = @oci_parse($c, 'select doesnotexist from dual');
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error(), oci_error($c), oci_error($s));
echo "2nd call\n";
var_dump(oci_error(), oci_error($c), oci_error($s));
@@ -50,7 +50,7 @@ echo "\nTest 5 - Execute - after oci_rollback\n";
$s = @oci_parse($c, 'select doesnotexist from dual');
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error(), oci_error($c), oci_error($s));
$r = oci_rollback($c);
echo "Rollback status is ";
@@ -68,7 +68,7 @@ echo "\nTest 6 - Execute - after successful 2nd query with new handle\n";
$s = @oci_parse($c, 'select doesnotexist from dual');
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error(), oci_error($c), oci_error($s));
$s2 = oci_parse($c, 'select 1 from dual');
$r = oci_execute($s2, OCI_DEFAULT);
@@ -87,7 +87,7 @@ echo "\nTest 7 - Execute - after successful 2nd query with same handle\n";
$s = @oci_parse($c, 'select doesnotexist from dual');
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error(), oci_error($c), oci_error($s));
$s = oci_parse($c, 'select 1 from dual');
$r = oci_execute($s, OCI_DEFAULT);
@@ -106,7 +106,7 @@ echo "\nTest 8 - Execute - after unsuccessful 2nd query with new handle\n";
$s = @oci_parse($c, 'select doesnotexist from dual');
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error(), oci_error($c), oci_error($s));
$s2 = oci_parse($c, 'select reallynothere from dual');
$r = oci_execute($s2, OCI_DEFAULT);
@@ -124,7 +124,7 @@ echo "\nTest 9 - Execute - after unsuccessful 2nd query with same handle\n";
$s = @oci_parse($c, 'select doesnotexist from dual');
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error(), oci_error($c), oci_error($s));
$s = oci_parse($c, 'select reallynothere from dual');
$r = oci_execute($s, OCI_DEFAULT);
diff --git a/ext/oci8/tests/bug51291_2.phpt b/ext/oci8/tests/bug51291_2.phpt
index d5dbf6f82b..d2c84af2c4 100644
--- a/ext/oci8/tests/bug51291_2.phpt
+++ b/ext/oci8/tests/bug51291_2.phpt
@@ -4,7 +4,7 @@ Bug #51291 (oci_error() doesn't report last error when called two times)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error messages from TimesTen
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -16,7 +16,7 @@ $s = oci_parse($c, "declare e exception; begin if :bv = 1 then raise e; end if;
$bv = 1;
oci_bind_by_name($s, ":bv", $bv);
$r = @oci_execute($s, OCI_DEFAULT);
-if (!$r) {
+if (!$r) {
var_dump(oci_error(), oci_error($c), oci_error($s));
$bv = 0;
$r = oci_execute($s, OCI_DEFAULT);
diff --git a/ext/oci8/tests/bug68298.phpt b/ext/oci8/tests/bug68298.phpt
index 223faa5cad..4ea8f14c53 100644
--- a/ext/oci8/tests/bug68298.phpt
+++ b/ext/oci8/tests/bug68298.phpt
@@ -11,7 +11,7 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platforms only");
require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
- "DROP TABLE BUG68298",
+ "DROP TABLE BUG68298",
"CREATE TABLE BUG68298 (COL1 NUMBER(20))"
);
diff --git a/ext/oci8/tests/bug70700.phpt b/ext/oci8/tests/bug70700.phpt
index 17a143a932..8c948dc205 100644
--- a/ext/oci8/tests/bug70700.phpt
+++ b/ext/oci8/tests/bug70700.phpt
@@ -9,7 +9,7 @@ ashnazg@php.net
if (!extension_loaded('mbstring')) die('skip mbstring is not enabled');
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--ENV--
NLS_LANG=.AL32UTF8
--FILE--
diff --git a/ext/oci8/tests/bug71148.phpt b/ext/oci8/tests/bug71148.phpt
index 44bd0e8007..204aab3c80 100644
--- a/ext/oci8/tests/bug71148.phpt
+++ b/ext/oci8/tests/bug71148.phpt
@@ -127,7 +127,7 @@ var_dump($cache3);
oci_free_statement($stmt);
-// Test 6: Bind IN OUT parameter within the same scope of execute
+// Test 6: Bind IN OUT parameter within the same scope of execute
$sql = "call bindproc(:var1, :var2, :var3)";
$cache1 = 'STR1';
diff --git a/ext/oci8/tests/bug71600.phpt b/ext/oci8/tests/bug71600.phpt
index 102c59f81a..c49dd0ee03 100644
--- a/ext/oci8/tests/bug71600.phpt
+++ b/ext/oci8/tests/bug71600.phpt
@@ -4,7 +4,7 @@ Bug #71600 (oci_fetch_all result in segfault when select more than 8 columns)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -13,8 +13,8 @@ require(dirname(__FILE__).'/connect.inc');
// Initialize
$stmtarray = array(
- "create table bug71600_tab (col1 number, col2 number, col3 number,
- col4 number, col5 number, col6 number,
+ "create table bug71600_tab (col1 number, col2 number, col3 number,
+ col4 number, col5 number, col6 number,
col7 number, col8 number, col9 number)",
"insert into bug71600_tab values(1, 2, 3, 4, 5, 6, 7, 8, 9)",
"insert into bug71600_tab values(11, 12, 13, 14, 15, 16, 17, 18, 19)"
diff --git a/ext/oci8/tests/coll_001.phpt b/ext/oci8/tests/coll_001.phpt
index 625d71a295..0b9ddcccc2 100644
--- a/ext/oci8/tests/coll_001.phpt
+++ b/ext/oci8/tests/coll_001.phpt
@@ -4,7 +4,7 @@ oci_new_collection()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_002.phpt b/ext/oci8/tests/coll_002.phpt
index 6633380c27..6e9ce4bcf1 100644
--- a/ext/oci8/tests/coll_002.phpt
+++ b/ext/oci8/tests/coll_002.phpt
@@ -4,7 +4,7 @@ oci_new_collection() + free()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_002_func.phpt b/ext/oci8/tests/coll_002_func.phpt
index d309de249c..51fac181b9 100644
--- a/ext/oci8/tests/coll_002_func.phpt
+++ b/ext/oci8/tests/coll_002_func.phpt
@@ -4,7 +4,7 @@ oci_new_collection() + free()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_003.phpt b/ext/oci8/tests/coll_003.phpt
index d7c52fe8e2..c7e2f4065c 100644
--- a/ext/oci8/tests/coll_003.phpt
+++ b/ext/oci8/tests/coll_003.phpt
@@ -4,7 +4,7 @@ collection methods
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_003_func.phpt b/ext/oci8/tests/coll_003_func.phpt
index 58655a55fe..2450fd738b 100644
--- a/ext/oci8/tests/coll_003_func.phpt
+++ b/ext/oci8/tests/coll_003_func.phpt
@@ -4,7 +4,7 @@ collection methods
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_004.phpt b/ext/oci8/tests/coll_004.phpt
index f71db4d0fb..b8bec375e1 100644
--- a/ext/oci8/tests/coll_004.phpt
+++ b/ext/oci8/tests/coll_004.phpt
@@ -4,7 +4,7 @@ oci_collection_assign()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_004_func.phpt b/ext/oci8/tests/coll_004_func.phpt
index 8f24363e1d..1061dbac11 100644
--- a/ext/oci8/tests/coll_004_func.phpt
+++ b/ext/oci8/tests/coll_004_func.phpt
@@ -4,7 +4,7 @@ oci_collection_assign()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_005.phpt b/ext/oci8/tests/coll_005.phpt
index 84084e7dd3..27ed72a1df 100644
--- a/ext/oci8/tests/coll_005.phpt
+++ b/ext/oci8/tests/coll_005.phpt
@@ -4,7 +4,7 @@ ocinewcollection()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_006.phpt b/ext/oci8/tests/coll_006.phpt
index f9e06d4fab..12e890a536 100644
--- a/ext/oci8/tests/coll_006.phpt
+++ b/ext/oci8/tests/coll_006.phpt
@@ -4,7 +4,7 @@ ocinewcollection() + free()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_006_func.phpt b/ext/oci8/tests/coll_006_func.phpt
index 87cbd7498c..583e0bb6a3 100644
--- a/ext/oci8/tests/coll_006_func.phpt
+++ b/ext/oci8/tests/coll_006_func.phpt
@@ -4,7 +4,7 @@ ocinewcollection() + free()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_007.phpt b/ext/oci8/tests/coll_007.phpt
index 86ce62f79e..89ef9bd6ad 100644
--- a/ext/oci8/tests/coll_007.phpt
+++ b/ext/oci8/tests/coll_007.phpt
@@ -4,7 +4,7 @@ collection methods
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_008.phpt b/ext/oci8/tests/coll_008.phpt
index 431d5d6351..18f8de4ab6 100644
--- a/ext/oci8/tests/coll_008.phpt
+++ b/ext/oci8/tests/coll_008.phpt
@@ -4,7 +4,7 @@ ocicollassign()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_009.phpt b/ext/oci8/tests/coll_009.phpt
index 917af5f2c5..5f502036f3 100644
--- a/ext/oci8/tests/coll_009.phpt
+++ b/ext/oci8/tests/coll_009.phpt
@@ -4,7 +4,7 @@ collections and wrong dates
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_009_func.phpt b/ext/oci8/tests/coll_009_func.phpt
index 0c5b46ddd4..40d7e60228 100644
--- a/ext/oci8/tests/coll_009_func.phpt
+++ b/ext/oci8/tests/coll_009_func.phpt
@@ -4,7 +4,7 @@ collections and wrong dates
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_010.phpt b/ext/oci8/tests/coll_010.phpt
index da088e919d..11dbe61f70 100644
--- a/ext/oci8/tests/coll_010.phpt
+++ b/ext/oci8/tests/coll_010.phpt
@@ -4,7 +4,7 @@ collections and nulls
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_010_func.phpt b/ext/oci8/tests/coll_010_func.phpt
index c5379ac9f3..f3284584d3 100644
--- a/ext/oci8/tests/coll_010_func.phpt
+++ b/ext/oci8/tests/coll_010_func.phpt
@@ -4,7 +4,7 @@ collections and nulls
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_011.phpt b/ext/oci8/tests/coll_011.phpt
index 3e8aa9d6a3..da0650cfdd 100644
--- a/ext/oci8/tests/coll_011.phpt
+++ b/ext/oci8/tests/coll_011.phpt
@@ -4,7 +4,7 @@ collections and strings
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_011_func.phpt b/ext/oci8/tests/coll_011_func.phpt
index 3871dd90e1..684da3d85d 100644
--- a/ext/oci8/tests/coll_011_func.phpt
+++ b/ext/oci8/tests/coll_011_func.phpt
@@ -4,7 +4,7 @@ collections and strings
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_012.phpt b/ext/oci8/tests/coll_012.phpt
index 4b912a80f8..3d47ee8830 100644
--- a/ext/oci8/tests/coll_012.phpt
+++ b/ext/oci8/tests/coll_012.phpt
@@ -4,7 +4,7 @@ collections and correct dates
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_012_func.phpt b/ext/oci8/tests/coll_012_func.phpt
index 574281d149..0884144776 100644
--- a/ext/oci8/tests/coll_012_func.phpt
+++ b/ext/oci8/tests/coll_012_func.phpt
@@ -4,7 +4,7 @@ collections and correct dates
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_013.phpt b/ext/oci8/tests/coll_013.phpt
index 04f549845e..f85c98a907 100644
--- a/ext/oci8/tests/coll_013.phpt
+++ b/ext/oci8/tests/coll_013.phpt
@@ -4,7 +4,7 @@ collections and correct dates (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_013_func.phpt b/ext/oci8/tests/coll_013_func.phpt
index 1992b94f68..2132a06a0a 100644
--- a/ext/oci8/tests/coll_013_func.phpt
+++ b/ext/oci8/tests/coll_013_func.phpt
@@ -4,7 +4,7 @@ collections and correct dates (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF DATE";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_014.phpt b/ext/oci8/tests/coll_014.phpt
index e89f4a37bf..eca1c18ee4 100644
--- a/ext/oci8/tests/coll_014.phpt
+++ b/ext/oci8/tests/coll_014.phpt
@@ -4,7 +4,7 @@ collections and strings (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_014_func.phpt b/ext/oci8/tests/coll_014_func.phpt
index 7d771633d2..ad04ad0be7 100644
--- a/ext/oci8/tests/coll_014_func.phpt
+++ b/ext/oci8/tests/coll_014_func.phpt
@@ -4,7 +4,7 @@ collections and strings (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_015.phpt b/ext/oci8/tests/coll_015.phpt
index c422d211b7..3618af4f73 100644
--- a/ext/oci8/tests/coll_015.phpt
+++ b/ext/oci8/tests/coll_015.phpt
@@ -4,7 +4,7 @@ collections and numbers (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_015_func.phpt b/ext/oci8/tests/coll_015_func.phpt
index 18e21dd934..af82ff1285 100644
--- a/ext/oci8/tests/coll_015_func.phpt
+++ b/ext/oci8/tests/coll_015_func.phpt
@@ -4,7 +4,7 @@ collections and numbers (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_016.phpt b/ext/oci8/tests/coll_016.phpt
index 2e06e2959c..3f6dac744c 100644
--- a/ext/oci8/tests/coll_016.phpt
+++ b/ext/oci8/tests/coll_016.phpt
@@ -4,7 +4,7 @@ collections and negative/too big element indexes
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_016_func.phpt b/ext/oci8/tests/coll_016_func.phpt
index 67830af25c..470ac1da73 100644
--- a/ext/oci8/tests/coll_016_func.phpt
+++ b/ext/oci8/tests/coll_016_func.phpt
@@ -4,7 +4,7 @@ collections and negative/too big element indexes
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_017.phpt b/ext/oci8/tests/coll_017.phpt
index 56f509965d..7c07e3c61d 100644
--- a/ext/oci8/tests/coll_017.phpt
+++ b/ext/oci8/tests/coll_017.phpt
@@ -4,7 +4,7 @@ collections and nulls (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_017_func.phpt b/ext/oci8/tests/coll_017_func.phpt
index 3440195fe6..a08a95f052 100644
--- a/ext/oci8/tests/coll_017_func.phpt
+++ b/ext/oci8/tests/coll_017_func.phpt
@@ -4,7 +4,7 @@ collections and nulls (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,7 +18,7 @@ $statement = OCIParse($c,$ora_sql);
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF VARCHAR(10)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
diff --git a/ext/oci8/tests/coll_018.phpt b/ext/oci8/tests/coll_018.phpt
index a3f0b29ce5..1020861168 100644
--- a/ext/oci8/tests/coll_018.phpt
+++ b/ext/oci8/tests/coll_018.phpt
@@ -4,7 +4,7 @@ Collection trim tests
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/coll_019.phpt b/ext/oci8/tests/coll_019.phpt
index e0c896dce1..e9896c4658 100644
--- a/ext/oci8/tests/coll_019.phpt
+++ b/ext/oci8/tests/coll_019.phpt
@@ -4,10 +4,10 @@ Test collection Oracle error handling collections and numbers (2)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/commit_001.phpt b/ext/oci8/tests/commit_001.phpt
index ef4018118e..09f3bfe12b 100644
--- a/ext/oci8/tests/commit_001.phpt
+++ b/ext/oci8/tests/commit_001.phpt
@@ -4,7 +4,7 @@ Test OCI_NO_AUTO_COMMIT constant
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/commit_002.phpt b/ext/oci8/tests/commit_002.phpt
index 4079ac0c30..ade5fb09bb 100644
--- a/ext/oci8/tests/commit_002.phpt
+++ b/ext/oci8/tests/commit_002.phpt
@@ -4,7 +4,7 @@ Test oci_commit failure
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/commit_old.phpt b/ext/oci8/tests/commit_old.phpt
index 012fc02372..dadffb6850 100644
--- a/ext/oci8/tests/commit_old.phpt
+++ b/ext/oci8/tests/commit_old.phpt
@@ -4,7 +4,7 @@ ocicommit()/ocirollback()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/conn_attr.inc b/ext/oci8/tests/conn_attr.inc
index 2edc1c9552..f05f3bc064 100644
--- a/ext/oci8/tests/conn_attr.inc
+++ b/ext/oci8/tests/conn_attr.inc
@@ -19,7 +19,7 @@ if ((isset($matches[1]) && $matches[1] >= 11)) {
"grant use on edition myedition1 to $testuser",
);
} else {
- // Server is Pre 11.2
+ // Server is Pre 11.2
$stmtarray = array(
"drop user $testuser cascade",
"create user $testuser identified by $testpassword",
@@ -34,7 +34,7 @@ foreach ($stmtarray as $stmt) {
$m = oci_error($s);
if (!in_array($m['code'], array( // ignore expected errors
942 // table or view does not exist
- , 1918 // user does not exist
+ , 1918 // user does not exist
, 2289 // sequence does not exist
, 4080 // trigger does not exist
, 38802 // edition does not exist
@@ -50,8 +50,8 @@ foreach ($stmtarray as $stmt) {
function get_attr($conn,$attr)
{
- $sel_stmt="select " .$attr. " from v\$session where sid =
- (select sid from v\$session where audsid =
+ $sel_stmt="select " .$attr. " from v\$session where sid =
+ (select sid from v\$session where audsid =
sys_context('userenv','sessionid')) order by 1";
$s2 = oci_parse($conn,$sel_stmt);
oci_execute($s2,OCI_DEFAULT);
@@ -60,8 +60,8 @@ function get_attr($conn,$attr)
}
}
-/* Pass $conn_type=1 for a connection with oci_connect()
- Pass $conn_type=2 for ooci_pconnect
+/* Pass $conn_type=1 for a connection with oci_connect()
+ Pass $conn_type=2 for ooci_pconnect
Default will give a oci_new_connect */
function get_conn($conn_type)
@@ -87,23 +87,23 @@ function get_conn($conn_type)
function set_attr($conn,$attr,$sufix)
{
- if (!strcmp($attr,'MODULE'))
+ if (!strcmp($attr,'MODULE'))
$r = oci_set_module_name($conn,'PHP TEST'.$sufix);
- else if (!strcmp($attr,'ACTION'))
+ else if (!strcmp($attr,'ACTION'))
$r = oci_set_action($conn,'TASK'.$sufix);
- else if (!strcmp($attr,'CLIENT_INFO'))
+ else if (!strcmp($attr,'CLIENT_INFO'))
$r = oci_set_client_info($conn,'INFO1'.$sufix);
- else if (!strcmp($attr,'CLIENT_IDENTIFIER'))
+ else if (!strcmp($attr,'CLIENT_IDENTIFIER'))
$r = oci_set_client_identifier($conn,'ID00'.$sufix);
else
echo "Pass one of the above four attributes!!!\n";
if ($r) {
echo "Value of $attr has been set successfully\n";
}
-
+
//Do a round-trip here
oci_server_version($conn);
- return $r;
+ return $r;
}
function set_edit_attr($value)
@@ -126,7 +126,7 @@ function get_edit_attr ($conn) {
function get_sys_attr($conn,$attr)
{
- $sel_stmt="select " .$attr. " from v\$session where sid =
+ $sel_stmt="select " .$attr. " from v\$session where sid =
(select sid from v\$session where audsid = sys_context('userenv','sessionid')) order by 1";
$s2 = oci_parse($conn,$sel_stmt);
oci_execute($s2,OCI_DEFAULT);
@@ -141,7 +141,7 @@ function clean_up($c) {
"drop edition myedition cascade",
"drop user " . $GLOBALS['testuser'] . " cascade",
);
-
+
foreach ($stmtarray as $stmt) {
$s = oci_parse($c, $stmt);
@oci_execute($s);
diff --git a/ext/oci8/tests/conn_attr_1.phpt b/ext/oci8/tests/conn_attr_1.phpt
index 745b1cd93f..d16e10f61c 100644
--- a/ext/oci8/tests/conn_attr_1.phpt
+++ b/ext/oci8/tests/conn_attr_1.phpt
@@ -1,7 +1,7 @@
--TEST--
Set and get of connection attributes with all types of connections.
--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');
@@ -18,7 +18,7 @@ if (!(isset($matches[0]) && $matches[1] >= 10)) {
<?php
$testuser = 'testuser_attr_1'; // Used in conn_attr.inc
-$testpassword = 'testuser';
+$testpassword = 'testuser';
require(dirname(__FILE__)."/conn_attr.inc");
diff --git a/ext/oci8/tests/conn_attr_2.phpt b/ext/oci8/tests/conn_attr_2.phpt
index 000b2cec74..b0df3ccbbe 100644
--- a/ext/oci8/tests/conn_attr_2.phpt
+++ b/ext/oci8/tests/conn_attr_2.phpt
@@ -1,7 +1,7 @@
--TEST--
Set and get of connection attributes across persistent connections and sysdba connection.
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
@@ -20,7 +20,7 @@ oci8.privileged_connect = On
<?php
$testuser = 'testuser_attr_2'; // Used in conn_attr.inc
-$testpassword = 'testuser';
+$testpassword = 'testuser';
require(dirname(__FILE__)."/conn_attr.inc");
diff --git a/ext/oci8/tests/conn_attr_3.phpt b/ext/oci8/tests/conn_attr_3.phpt
index 1b00ac5a4f..cfc4032a6b 100644
--- a/ext/oci8/tests/conn_attr_3.phpt
+++ b/ext/oci8/tests/conn_attr_3.phpt
@@ -17,7 +17,7 @@ if (!(isset($matches[0]) && $matches[1] >= 10)) {
<?php
$testuser = 'testuser_attr_3'; // Used in conn_attr.inc
-$testpassword = 'testuser';
+$testpassword = 'testuser';
require(dirname(__FILE__)."/conn_attr.inc");
diff --git a/ext/oci8/tests/conn_attr_4.phpt b/ext/oci8/tests/conn_attr_4.phpt
index 0a6b814e4b..c44b70aeca 100644
--- a/ext/oci8/tests/conn_attr_4.phpt
+++ b/ext/oci8/tests/conn_attr_4.phpt
@@ -10,7 +10,7 @@ if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to
if ($test_drcp) die("skip output might vary with DRCP");
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
-if (!(isset($matches[0]) &&
+if (!(isset($matches[0]) &&
(($matches[1] == 11 && $matches[2] >= 2) ||
($matches[1] >= 12)
))) {
@@ -22,7 +22,7 @@ if (!(isset($matches[0]) &&
<?php
$testuser = 'testuser_attr_4'; // Used in conn_attr.inc
-$testpassword = 'testuser';
+$testpassword = 'testuser';
require(dirname(__FILE__)."/conn_attr.inc");
diff --git a/ext/oci8/tests/conn_attr_5.phpt b/ext/oci8/tests/conn_attr_5.phpt
index 70a6d2b096..624eb63e12 100644
--- a/ext/oci8/tests/conn_attr_5.phpt
+++ b/ext/oci8/tests/conn_attr_5.phpt
@@ -17,7 +17,7 @@ if (!(isset($matches[0]) && $matches[1] >= 10)) {
<?php
$testuser = 'testuser_attr_5'; // Used in conn_attr.inc
-$testpassword = 'testuser';
+$testpassword = 'testuser';
require(dirname(__FILE__)."/conn_attr.inc");
@@ -37,7 +37,6 @@ function set_scope() {
set_attr($conn2,'ACTION',50);
$conn3 = get_conn(2);
set_attr($conn3,'MODULE',50);
-
}
function get_scope() {
diff --git a/ext/oci8/tests/connect_scope1.phpt b/ext/oci8/tests/connect_scope1.phpt
index d265d1da9f..27b15f1e6e 100644
--- a/ext/oci8/tests/connect_scope1.phpt
+++ b/ext/oci8/tests/connect_scope1.phpt
@@ -18,7 +18,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_scope2.phpt b/ext/oci8/tests/connect_scope2.phpt
index 7d05c11411..6fcfa238c9 100644
--- a/ext/oci8/tests/connect_scope2.phpt
+++ b/ext/oci8/tests/connect_scope2.phpt
@@ -18,7 +18,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_scope_try1.phpt b/ext/oci8/tests/connect_scope_try1.phpt
index 2832b863ea..d30fc6686d 100644
--- a/ext/oci8/tests/connect_scope_try1.phpt
+++ b/ext/oci8/tests/connect_scope_try1.phpt
@@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_scope_try2.phpt b/ext/oci8/tests/connect_scope_try2.phpt
index 29daa9d403..bb1ad4a7c6 100644
--- a/ext/oci8/tests/connect_scope_try2.phpt
+++ b/ext/oci8/tests/connect_scope_try2.phpt
@@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_scope_try3.phpt b/ext/oci8/tests/connect_scope_try3.phpt
index 1af0813727..4a82362127 100644
--- a/ext/oci8/tests/connect_scope_try3.phpt
+++ b/ext/oci8/tests/connect_scope_try3.phpt
@@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_scope_try4.phpt b/ext/oci8/tests/connect_scope_try4.phpt
index 5a2c9f0727..25a951a792 100644
--- a/ext/oci8/tests/connect_scope_try4.phpt
+++ b/ext/oci8/tests/connect_scope_try4.phpt
@@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_scope_try5.phpt b/ext/oci8/tests/connect_scope_try5.phpt
index 112ec6ce97..0a2518d4e0 100644
--- a/ext/oci8/tests/connect_scope_try5.phpt
+++ b/ext/oci8/tests/connect_scope_try5.phpt
@@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_scope_try6.phpt b/ext/oci8/tests/connect_scope_try6.phpt
index 96bd556092..653bacc879 100644
--- a/ext/oci8/tests/connect_scope_try6.phpt
+++ b/ext/oci8/tests/connect_scope_try6.phpt
@@ -20,7 +20,7 @@ if (!empty($dbase))
$c1 = oci_new_connect($user,$password,$dbase);
else
$c1 = oci_new_connect($user,$password);
-
+
oci8_test_sql_execute($c1, $stmtarray);
// Run Test
diff --git a/ext/oci8/tests/connect_without_oracle_home.phpt b/ext/oci8/tests/connect_without_oracle_home.phpt
index 831fc23d61..4ccc2989c8 100644
--- a/ext/oci8/tests/connect_without_oracle_home.phpt
+++ b/ext/oci8/tests/connect_without_oracle_home.phpt
@@ -1,8 +1,8 @@
--TEST--
oci_connect() without ORACLE_HOME set (OCIServerAttach() segfaults)
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
ob_start();
phpinfo(INFO_MODULES);
$phpinfo = ob_get_clean();
diff --git a/ext/oci8/tests/connect_without_oracle_home_11.phpt b/ext/oci8/tests/connect_without_oracle_home_11.phpt
index 42c4564456..9962ecfcf8 100644
--- a/ext/oci8/tests/connect_without_oracle_home_11.phpt
+++ b/ext/oci8/tests/connect_without_oracle_home_11.phpt
@@ -1,8 +1,8 @@
--TEST--
oci_connect() without ORACLE_HOME set (OCIServerAttach() segfaults)
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
ob_start();
phpinfo(INFO_MODULES);
$phpinfo = ob_get_clean();
diff --git a/ext/oci8/tests/connect_without_oracle_home_old.phpt b/ext/oci8/tests/connect_without_oracle_home_old.phpt
index d6d12b47ba..7e15bc5dd4 100644
--- a/ext/oci8/tests/connect_without_oracle_home_old.phpt
+++ b/ext/oci8/tests/connect_without_oracle_home_old.phpt
@@ -1,8 +1,8 @@
--TEST--
ocilogon() without ORACLE_HOME set (OCIServerAttach() segfaults)
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
ob_start();
phpinfo(INFO_MODULES);
$phpinfo = ob_get_clean();
diff --git a/ext/oci8/tests/connect_without_oracle_home_old_11.phpt b/ext/oci8/tests/connect_without_oracle_home_old_11.phpt
index eb5fb0cc4d..6371b3f909 100644
--- a/ext/oci8/tests/connect_without_oracle_home_old_11.phpt
+++ b/ext/oci8/tests/connect_without_oracle_home_old_11.phpt
@@ -1,8 +1,8 @@
--TEST--
ocilogon() without ORACLE_HOME set (OCIServerAttach() segfaults)
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
ob_start();
phpinfo(INFO_MODULES);
$phpinfo = ob_get_clean();
diff --git a/ext/oci8/tests/create_type.inc b/ext/oci8/tests/create_type.inc
index e23f7cb903..40df1b9594 100644
--- a/ext/oci8/tests/create_type.inc
+++ b/ext/oci8/tests/create_type.inc
@@ -9,7 +9,7 @@
@OCIExecute($statement);
$ora_sql = "CREATE TYPE ".$type_name." AS TABLE OF NUMBER(11)";
-
+
$statement = OCIParse($c,$ora_sql);
OCIExecute($statement);
}
diff --git a/ext/oci8/tests/cursor_bind.phpt b/ext/oci8/tests/cursor_bind.phpt
index 740402e7e0..6de593a17d 100644
--- a/ext/oci8/tests/cursor_bind.phpt
+++ b/ext/oci8/tests/cursor_bind.phpt
@@ -4,7 +4,7 @@ bind and fetch cursor from a statement
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -56,7 +56,7 @@ oci8_test_sql_execute($c, $stmtarray);
?>
===DONE===
<?php exit(0); ?>
---EXPECT--
+--EXPECT--
array(2) {
[0]=>
string(1) "1"
diff --git a/ext/oci8/tests/cursor_bind_err.phpt b/ext/oci8/tests/cursor_bind_err.phpt
index 197aad1d19..3ee539f3d3 100644
--- a/ext/oci8/tests/cursor_bind_err.phpt
+++ b/ext/oci8/tests/cursor_bind_err.phpt
@@ -4,7 +4,7 @@ binding a cursor (with errors)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/cursors.phpt b/ext/oci8/tests/cursors.phpt
index 0919e44113..a0921855ff 100644
--- a/ext/oci8/tests/cursors.phpt
+++ b/ext/oci8/tests/cursors.phpt
@@ -4,7 +4,7 @@ fetching cursor from a statement
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/cursors_old.phpt b/ext/oci8/tests/cursors_old.phpt
index aa25937570..ade8263802 100644
--- a/ext/oci8/tests/cursors_old.phpt
+++ b/ext/oci8/tests/cursors_old.phpt
@@ -4,7 +4,7 @@ fetching cursor from a statement
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/db_op_1.phpt b/ext/oci8/tests/db_op_1.phpt
index f645cf80ff..b4f7db168b 100644
--- a/ext/oci8/tests/db_op_1.phpt
+++ b/ext/oci8/tests/db_op_1.phpt
@@ -1,8 +1,8 @@
--TEST--
oci_set_db_operation: basic test for end-to-end tracing
--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');
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
@@ -13,11 +13,11 @@ 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");
}
if (!function_exists('oci_set_db_operation'))
-{
+{
die("skip function oci_set_db_operation() does not exist");
}
?>
@@ -58,4 +58,4 @@ array(1) {
string(7) "db_op_1"
}
===DONE===
-
+
diff --git a/ext/oci8/tests/db_op_2.phpt b/ext/oci8/tests/db_op_2.phpt
index 05c2269ae0..10c5700223 100644
--- a/ext/oci8/tests/db_op_2.phpt
+++ b/ext/oci8/tests/db_op_2.phpt
@@ -1,8 +1,8 @@
--TEST--
oci_set_db_operation: basic test for end-to-end tracing
--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');
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
@@ -13,11 +13,11 @@ 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");
}
if (!function_exists('oci_set_db_operation'))
-{
+{
die("skip function oci_set_db_operation() does not exist");
}
?>
@@ -66,4 +66,4 @@ array(2) {
string(7) "db_op_2a"
}
===DONE===
-
+
diff --git a/ext/oci8/tests/dbmsoutput.phpt b/ext/oci8/tests/dbmsoutput.phpt
index eaace0fa08..68906aa796 100644
--- a/ext/oci8/tests/dbmsoutput.phpt
+++ b/ext/oci8/tests/dbmsoutput.phpt
@@ -4,7 +4,7 @@ PL/SQL: dbms_output
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/define2.phpt b/ext/oci8/tests/define2.phpt
index c53bebd2e1..086cc7275c 100644
--- a/ext/oci8/tests/define2.phpt
+++ b/ext/oci8/tests/define2.phpt
@@ -4,7 +4,7 @@ Test oci_define_by_name types
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -14,7 +14,7 @@ $stmtarray = array(
"drop table phptestrawtable",
"create table phptestrawtable( id number(10), fileimage raw(1000))"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
$stmt = oci_parse ($c, "insert into phptestrawtable (id, fileimage) values (:id, :fileimage)");
diff --git a/ext/oci8/tests/define3.phpt b/ext/oci8/tests/define3.phpt
index 77714a92f0..70426f61b4 100644
--- a/ext/oci8/tests/define3.phpt
+++ b/ext/oci8/tests/define3.phpt
@@ -4,7 +4,7 @@ Test oci_define_by_name() LOB descriptor
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -14,7 +14,7 @@ $stmtarray = array(
"drop table phpdefblobtable",
"create table phpdefblobtable (id number(10), fileimage blob)"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
// Load data
@@ -78,7 +78,7 @@ while (oci_fetch($stmt)) {
$stmtarray = array(
"drop table phpdefblobtable"
);
-
+
oci8_test_sql_execute($c, $stmtarray);
echo "Done\n";
diff --git a/ext/oci8/tests/define6.phpt b/ext/oci8/tests/define6.phpt
index 50e23ecf45..f68ada398c 100644
--- a/ext/oci8/tests/define6.phpt
+++ b/ext/oci8/tests/define6.phpt
@@ -4,7 +4,7 @@ oci_define_by_name tests with REF CURSORs
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -22,7 +22,7 @@ oci8_test_sql_execute($c, $stmtarray);
// Run Test
-$sql =
+$sql =
"DECLARE
TYPE curtype IS REF CURSOR;
cursor_var curtype;
diff --git a/ext/oci8/tests/descriptors.phpt b/ext/oci8/tests/descriptors.phpt
index 9193fdddeb..9a4c650c47 100644
--- a/ext/oci8/tests/descriptors.phpt
+++ b/ext/oci8/tests/descriptors.phpt
@@ -4,7 +4,7 @@ commit connection after destroying the descriptor
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/drcp_cclass1.phpt b/ext/oci8/tests/drcp_cclass1.phpt
index 0a929317bb..d004f1f112 100644
--- a/ext/oci8/tests/drcp_cclass1.phpt
+++ b/ext/oci8/tests/drcp_cclass1.phpt
@@ -1,14 +1,14 @@
--TEST--
DRCP: Test setting connection class inline
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die ("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die ("skip no oci8 extension");
require(dirname(__FILE__).'/connect.inc');
if (!$test_drcp) die("skip testing DRCP connection class only works in DRCP mode");
// Looked for :pooled in EZ connect string
if (strpos($dbase, "/") !== false && stripos($dbase, ":pooled") === false)
die('skip DRCP test requires a DRCP pooled server connection');
-if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
+if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches_sv);
// This test in Oracle 12c needs a non-CDB or the root container
diff --git a/ext/oci8/tests/drcp_conn_close1.phpt b/ext/oci8/tests/drcp_conn_close1.phpt
index 697b7e3575..468b2732a6 100644
--- a/ext/oci8/tests/drcp_conn_close1.phpt
+++ b/ext/oci8/tests/drcp_conn_close1.phpt
@@ -30,9 +30,9 @@ oci_close($conn2);
// Compare the resource numbers
if ($rn1 === $rn2)
- echo "Both connections share a resource : OK \n";
+ echo "Both connections share a resource : OK\n";
else
- echo "Both connections are different : NOT OK \n";
+ echo "Both connections are different : NOT OK\n";
echo "Done\n";
@@ -41,5 +41,5 @@ echo "Done\n";
This is with a OCI_CONNECT
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 connection)
-Both connections share a resource : OK
+Both connections share a resource : OK
Done
diff --git a/ext/oci8/tests/drcp_conn_close2.phpt b/ext/oci8/tests/drcp_conn_close2.phpt
index 0d3f8247f2..6b22862f89 100644
--- a/ext/oci8/tests/drcp_conn_close2.phpt
+++ b/ext/oci8/tests/drcp_conn_close2.phpt
@@ -31,9 +31,9 @@ oci_close($conn2);
// Compare the resource numbers
if ($rn1 === $rn2)
- echo "Both connections share a resource : NOT OK \n";
+ echo "Both connections share a resource : NOT OK\n";
else
- echo "Both connections are different : OK \n";
+ echo "Both connections are different : OK\n";
echo "Done\n";
@@ -42,5 +42,5 @@ echo "Done\n";
This is with a OCI_CONNECT
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 connection)
-Both connections are different : OK
+Both connections are different : OK
Done
diff --git a/ext/oci8/tests/drcp_connect1.phpt b/ext/oci8/tests/drcp_connect1.phpt
index 25395dc187..7e8dfb7910 100644
--- a/ext/oci8/tests/drcp_connect1.phpt
+++ b/ext/oci8/tests/drcp_connect1.phpt
@@ -4,7 +4,7 @@ DRCP: oci_connect()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs (Calling PL/SQL from SQL is not supported in TimesTen)
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--INI--
oci8.connection_class=test
oci8.old_oci_close_semantics=0
@@ -24,7 +24,7 @@ var_dump($conn1 = oci_connect($user,$password,$dbase));
// Create the package
drcp_create_package($conn1);
-echo "Test 1b\n";
+echo "Test 1b\n";
// OCI_CONNECT
echo " This is with OCI_CONNECT.....\n";
drcp_select_packagevar($conn1); // Returns 0
@@ -35,7 +35,7 @@ echo " Connection conn1 closed....\n";
echo "Test 2\n";
// Second connection should return 0 for the package variable.
var_dump($conn2 = oci_connect($user,$password,$dbase));
-echo " Select with connection 2 \n";
+echo " Select with connection 2\n";
drcp_select_packagevar($conn2); // Returns 0
drcp_set_packagevar($conn2,100);
@@ -43,7 +43,7 @@ echo "Test 3\n";
// Third connection. There is no oci_close() for conn2 hence this should
// return the value set by conn2.
var_dump($conn3 = oci_connect($user,$password,$dbase));
-echo " Select with connection 3 \n";
+echo " Select with connection 3\n";
drcp_select_packagevar($conn3); // Returns 100
// Close all the connections
@@ -63,7 +63,7 @@ echo " Connection pconn1 closed....\n";
echo "Test 5\n";
var_dump($pconn2 = oci_pconnect($user,$password,$dbase));
-echo " Select with persistent connection 2 \n";
+echo " Select with persistent connection 2\n";
drcp_select_packagevar($pconn2); // Returns 1000
oci_close($pconn2);
@@ -80,12 +80,12 @@ Test 1b
Connection conn1 closed....
Test 2
resource(%d) of type (oci8 connection)
- Select with connection 2
+ Select with connection 2
The value of the package variable is 0
Package variable value set to 100
Test 3
resource(%d) of type (oci8 connection)
- Select with connection 3
+ Select with connection 3
The value of the package variable is 100
Test 4
This is with oci_pconnect().....
@@ -94,7 +94,7 @@ resource(%d) of type (oci8 persistent connection)
Connection pconn1 closed....
Test 5
resource(%d) of type (oci8 persistent connection)
- Select with persistent connection 2
+ Select with persistent connection 2
The value of the package variable is 1000
Done
diff --git a/ext/oci8/tests/drcp_connection_class.phpt b/ext/oci8/tests/drcp_connection_class.phpt
index c01c144d23..b6ca31ce2a 100644
--- a/ext/oci8/tests/drcp_connection_class.phpt
+++ b/ext/oci8/tests/drcp_connection_class.phpt
@@ -2,9 +2,9 @@
DRCP: oci8.connection_class with ini_get() and ini_set()
--SKIPIF--
<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
-if (!(isset($matches[0]) && $matches[0] >= 11)) {
+if (!(isset($matches[0]) && $matches[0] >= 11)) {
die("skip works only with Oracle 11g or greater version of Oracle client libraries");
}
?>
@@ -16,15 +16,15 @@ oci8.connection_class=test
echo "Setting a new connection class now\n";
ini_set('oci8.connection_class',"New cc");
-// Get the New connection class name .Should return New CC
+// Get the New connection class name. Should return New CC
$new_cc = ini_get('oci8.connection_class');
-echo "The New oci8.connection_class is $new_cc \n";
+echo "The New oci8.connection_class is $new_cc\n";
echo "Done\n";
?>
--EXPECTF--
Setting a new connection class now
-The New oci8.connection_class is New cc
+The New oci8.connection_class is New cc
Done
diff --git a/ext/oci8/tests/drcp_pconn_close1.phpt b/ext/oci8/tests/drcp_pconn_close1.phpt
index a9b912b26f..53e7b1e3ef 100644
--- a/ext/oci8/tests/drcp_pconn_close1.phpt
+++ b/ext/oci8/tests/drcp_pconn_close1.phpt
@@ -29,9 +29,9 @@ oci_close($conn2);
// Compare the resource numbers
if ($rn1 === $rn2)
- echo "Both connections share a resource : OK \n";
+ echo "Both connections share a resource : OK\n";
else
- echo "Both connections are different : NOT OK \n";
+ echo "Both connections are different : NOT OK\n";
echo "Done\n";
@@ -40,5 +40,5 @@ echo "Done\n";
This is with a OCI_PCONNECT
resource(%d) of type (oci8 persistent connection)
resource(%d) of type (oci8 persistent connection)
-Both connections share a resource : OK
+Both connections share a resource : OK
Done
diff --git a/ext/oci8/tests/drcp_pconn_close2.phpt b/ext/oci8/tests/drcp_pconn_close2.phpt
index 5fd2c2355f..1c64762018 100644
--- a/ext/oci8/tests/drcp_pconn_close2.phpt
+++ b/ext/oci8/tests/drcp_pconn_close2.phpt
@@ -31,9 +31,9 @@ oci_close($conn2);
// Compare the resource numbers
if ($rn1 === $rn2)
- echo "Both connections share a resource : NOT OK \n";
+ echo "Both connections share a resource : NOT OK\n";
else
- echo "Both connections are different : OK \n";
+ echo "Both connections are different : OK\n";
echo "Done\n";
@@ -42,5 +42,5 @@ echo "Done\n";
This is with a OCI_PCONNECT
resource(%d) of type (oci8 persistent connection)
resource(%d) of type (oci8 persistent connection)
-Both connections are different : OK
+Both connections are different : OK
Done
diff --git a/ext/oci8/tests/driver_name.phpt b/ext/oci8/tests/driver_name.phpt
index a5be162e40..bc42ad234d 100644
--- a/ext/oci8/tests/driver_name.phpt
+++ b/ext/oci8/tests/driver_name.phpt
@@ -1,7 +1,7 @@
--TEST--
Verify that the Driver Name attribute is set
--SKIPIF--
-<?php if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
@@ -29,7 +29,7 @@ get_attr($c);
oci_close($c);
echo"\n***Test 1.2 - Get the values from different connections **************\n";
-// with oci_pconnect()
+// with oci_pconnect()
echo "Testing with oci_pconnect()\n";
$pc1=oci_pconnect($user,$password,$dbase);
get_attr($pc1);
@@ -43,10 +43,10 @@ echo "Done\n";
function get_attr($conn)
{
- $sel_stmt = "select client_driver
- from v\$session_connect_info sci, v\$session s
- where sci.client_driver is not null
- and sci.sid = s.sid
+ $sel_stmt = "select client_driver
+ from v\$session_connect_info sci, v\$session s
+ where sci.client_driver is not null
+ and sci.sid = s.sid
and s.audsid = userenv('SESSIONID')";
$s2 = oci_parse($conn,$sel_stmt);
oci_execute($s2,OCI_DEFAULT);
diff --git a/ext/oci8/tests/driver_name_11gR2.phpt b/ext/oci8/tests/driver_name_11gR2.phpt
index 3c21d57b93..d44f495dea 100644
--- a/ext/oci8/tests/driver_name_11gR2.phpt
+++ b/ext/oci8/tests/driver_name_11gR2.phpt
@@ -1,7 +1,7 @@
--TEST--
Verify that the Driver Name attribute is set
--SKIPIF--
-<?php if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
@@ -26,7 +26,7 @@ get_attr($c);
oci_close($c);
echo"\n***Test 1.2 - Get the values from different connections **************\n";
-// with oci_pconnect()
+// with oci_pconnect()
echo "Testing with oci_pconnect()\n";
$pc1=oci_pconnect($user,$password,$dbase);
get_attr($pc1);
@@ -40,10 +40,10 @@ echo "Done\n";
function get_attr($conn)
{
- $sel_stmt = "select client_driver
- from v\$session_connect_info sci, v\$session s
- where sci.client_driver is not null
- and sci.sid = s.sid
+ $sel_stmt = "select client_driver
+ from v\$session_connect_info sci, v\$session s
+ where sci.client_driver is not null
+ and sci.sid = s.sid
and s.audsid = userenv('SESSIONID')";
$s2 = oci_parse($conn,$sel_stmt);
oci_execute($s2,OCI_DEFAULT);
diff --git a/ext/oci8/tests/drop_table.inc b/ext/oci8/tests/drop_table.inc
index 592a95a3db..b45330bf66 100644
--- a/ext/oci8/tests/drop_table.inc
+++ b/ext/oci8/tests/drop_table.inc
@@ -1,6 +1,6 @@
<?php
if ($c) {
- $ora_sql = "DROP TABLE ".$schema.$table_name;
+ $ora_sql = "DROP TABLE ".$schema.$table_name;
$statement = oci_parse($c,$ora_sql);
oci_execute($statement);
}
diff --git a/ext/oci8/tests/edition_1.phpt b/ext/oci8/tests/edition_1.phpt
index 3e55ee902c..19c0a5d3b3 100644
--- a/ext/oci8/tests/edition_1.phpt
+++ b/ext/oci8/tests/edition_1.phpt
@@ -1,8 +1,8 @@
--TEST--
Basic test for setting Oracle 11gR2 "edition" attribute
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
if (strcasecmp($user, "system") && strcasecmp($user, "sys")) {
die("skip needs to be run as a DBA user");
@@ -11,7 +11,7 @@ if ($test_drcp) {
die("skip as Output might vary with DRCP");
}
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
-if (!(isset($matches[0]) &&
+if (!(isset($matches[0]) &&
(($matches[1] == 11 && $matches[2] >= 2) ||
($matches[1] >= 12)
))) {
@@ -30,11 +30,11 @@ if (!(isset($matches[0]) &&
/* In 11.2, there can only be one child edition. So this test will
* fail to create the necessary editions if a child edition exists
- * already
+ * already
*/
$testuser = 'testuser_attr_1'; // Used in conn_attr.inc
-$testpassword = 'testuser';
+$testpassword = 'testuser';
require(dirname(__FILE__)."/conn_attr.inc");
@@ -45,18 +45,18 @@ function select_fn($conn) {
var_dump($row);
}
}
-/* Create a editon MYEDITION
+/* Create a editon MYEDITION
create a view view_ed in MYEDITION1.
create the same view 'view_ed' with a different definition in MYEDITION.
select from both the editions and verify the contents. */
set_edit_attr('MYEDITION');
-$conn = oci_connect($testuser,$testpassword,$dbase);
+$conn = oci_connect($testuser,$testpassword,$dbase);
if ($conn === false) {
$m = oci_error();
die("Error:" . $m['message']);
}
-
+
$stmtarray = array(
"drop table edit_tab",
"create table edit_tab (name varchar2(10),age number,job varchar2(50), salary number)",
@@ -73,7 +73,7 @@ select_fn($conn);
// Create a different version of view_ed in MYEDITION1.
set_edit_attr('MYEDITION1');
-$conn2 = oci_new_connect($testuser,$testpassword,$dbase);
+$conn2 = oci_new_connect($testuser,$testpassword,$dbase);
$stmt = "create or replace editioning view view_ed as select name,age,job,salary from edit_tab";
$s = oci_parse($conn2, $stmt);
oci_execute($s);
@@ -83,7 +83,7 @@ get_edit_attr($conn2);
select_fn($conn2);
// Verify the contents in MYEDITION EDITION.
-echo "version of view_ed in MYEDITION \n";
+echo "version of view_ed in MYEDITION\n";
get_edit_attr($conn);
select_fn($conn);
@@ -135,7 +135,7 @@ array(4) {
[3]=>
string(%d) "100"
}
-version of view_ed in MYEDITION
+version of view_ed in MYEDITION
The value of current EDITION is MYEDITION
array(3) {
[0]=>
diff --git a/ext/oci8/tests/edition_2.phpt b/ext/oci8/tests/edition_2.phpt
index 12e902667e..6d56f9be5c 100644
--- a/ext/oci8/tests/edition_2.phpt
+++ b/ext/oci8/tests/edition_2.phpt
@@ -2,14 +2,14 @@
Set and check Oracle 11gR2 "edition" attribute
--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");
if (strcasecmp($user, "system") && strcasecmp($user, "sys"))
die("skip needs to be run as a DBA user");
if ($test_drcp)
die("skip as Output might vary with DRCP");
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
-if (!(isset($matches[0]) &&
+if (!(isset($matches[0]) &&
(($matches[1] == 11 && $matches[2] >= 2) ||
($matches[1] >= 12)
))) {
@@ -33,7 +33,7 @@ if (!(isset($matches[0]) &&
*/
$testuser = 'testuser_ed_2'; // Used in conn_attr.inc
-$testpassword = 'testuser';
+$testpassword = 'testuser';
require(dirname(__FILE__)."/conn_attr.inc");
@@ -113,7 +113,7 @@ echo "\n\n**Test 1.7 - Test with ALTER SESSION statement to change the edition *
set_edit_attr('MYEDITION');
$c1 = get_conn(3);
-echo "get the value set to MYEDITION with oci_set_edition \n";
+echo "get the value set to MYEDITION with oci_set_edition\n";
get_edit_attr($c1);
$alter_stmt = "alter session set edition = MYEDITION1";
@@ -123,7 +123,7 @@ oci_commit($c1);
echo "Get the value set to MYEDITION1 with alter session\n";
get_edit_attr($c1);
-echo " Get the value with a new connection \n";
+echo " Get the value with a new connection\n";
$c2 = get_conn(1);
get_edit_attr($c2);
@@ -131,7 +131,7 @@ echo " Set the value back using oci-set_edition\n";
set_edit_attr('MYEDITION');
get_edit_attr($c2);
-echo " Get the value with a new conenction \n";
+echo " Get the value with a new conenction\n";
$c3 = get_conn(1);
get_edit_attr($c3);
@@ -225,17 +225,17 @@ The value of current EDITION is MYEDITION1
**Test 1.7 - Test with ALTER SESSION statement to change the edition *******
The value of edition has been successfully set
Testing with oci_new_connect()
-get the value set to MYEDITION with oci_set_edition
+get the value set to MYEDITION with oci_set_edition
The value of current EDITION is MYEDITION
Get the value set to MYEDITION1 with alter session
The value of current EDITION is MYEDITION1
- Get the value with a new connection
+ Get the value with a new connection
Testing with oci_connect()
The value of current EDITION is MYEDITION
Set the value back using oci-set_edition
The value of edition has been successfully set
The value of current EDITION is MYEDITION
- Get the value with a new conenction
+ Get the value with a new conenction
Testing with oci_connect()
The value of current EDITION is MYEDITION
diff --git a/ext/oci8/tests/error.phpt b/ext/oci8/tests/error.phpt
index 7fedd0ddad..c3fb2de664 100644
--- a/ext/oci8/tests/error.phpt
+++ b/ext/oci8/tests/error.phpt
@@ -4,7 +4,7 @@ oci_error() error message for parsing error
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error messages from TimesTen
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/error2.phpt b/ext/oci8/tests/error2.phpt
index 48f21f440d..2561d9dd4d 100644
--- a/ext/oci8/tests/error2.phpt
+++ b/ext/oci8/tests/error2.phpt
@@ -1,7 +1,7 @@
--TEST--
Exercise error code for SUCCESS_WITH_INFO
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
diff --git a/ext/oci8/tests/error3.phpt b/ext/oci8/tests/error3.phpt
index 8540db250a..29650439e2 100644
--- a/ext/oci8/tests/error3.phpt
+++ b/ext/oci8/tests/error3.phpt
@@ -1,7 +1,7 @@
--TEST--
Maximum Oracle error length
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
// Assume runtime client version is >= compile time client version
@@ -21,11 +21,11 @@ echo "Test 1\n";
error_reporting(E_ALL);
-$s = oci_parse($c, "declare
-s varchar2(4000);
-begin
+$s = oci_parse($c, "declare
+s varchar2(4000);
+begin
s := 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBabcdefghBBBBBBBBCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC';
-raise_application_error(-20333, s);
+raise_application_error(-20333, s);
end;");
oci_execute($s);
diff --git a/ext/oci8/tests/error_bind.phpt b/ext/oci8/tests/error_bind.phpt
index 6ee26ee825..0b039a16d9 100644
--- a/ext/oci8/tests/error_bind.phpt
+++ b/ext/oci8/tests/error_bind.phpt
@@ -23,7 +23,7 @@ $stmt = oci_parse($c, "insert into bind_test values (:name)");
oci_bind_by_name($stmt, ":name", $name, 10, SQLT_CHR);
var_dump(oci_execute($stmt));
-echo "Test 1 - Assign a resource to the bind variable and execute \n";
+echo "Test 1 - Assign a resource to the bind variable and execute\n";
$name=$c;
var_dump(oci_execute($stmt));
@@ -50,7 +50,7 @@ echo "Done\n";
--EXPECTF--
Insert value
bool(true)
-Test 1 - Assign a resource to the bind variable and execute
+Test 1 - Assign a resource to the bind variable and execute
Warning: oci_execute(): Invalid variable used for bind in %s on line %d
bool(false)
diff --git a/ext/oci8/tests/error_bind_2.phpt b/ext/oci8/tests/error_bind_2.phpt
index 642716887e..592702b931 100644
--- a/ext/oci8/tests/error_bind_2.phpt
+++ b/ext/oci8/tests/error_bind_2.phpt
@@ -1,8 +1,8 @@
--TEST--
Test some more oci_bind_by_name error conditions
--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' => true); // 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");
}
?>
diff --git a/ext/oci8/tests/error_bind_3.phpt b/ext/oci8/tests/error_bind_3.phpt
index 7522dfe60a..47ca71dcd1 100644
--- a/ext/oci8/tests/error_bind_3.phpt
+++ b/ext/oci8/tests/error_bind_3.phpt
@@ -1,8 +1,8 @@
--TEST--
Test some more oci_bind_by_name error conditions
--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' => true); // 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");
}
?>
diff --git a/ext/oci8/tests/error_old.phpt b/ext/oci8/tests/error_old.phpt
index c6f9cd300d..8df1ee5df2 100644
--- a/ext/oci8/tests/error_old.phpt
+++ b/ext/oci8/tests/error_old.phpt
@@ -4,7 +4,7 @@ ocierror()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs: different error messages from TimesTen
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/fetch_all2.phpt b/ext/oci8/tests/fetch_all2.phpt
index 483e51573d..261c46f38b 100644
--- a/ext/oci8/tests/fetch_all2.phpt
+++ b/ext/oci8/tests/fetch_all2.phpt
@@ -1,10 +1,10 @@
--TEST--
-oci_fetch_all() - 2
+oci_fetch_all() - 2
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/fetch_all3.phpt b/ext/oci8/tests/fetch_all3.phpt
index 4c0be1cc07..f2a401d7c0 100644
--- a/ext/oci8/tests/fetch_all3.phpt
+++ b/ext/oci8/tests/fetch_all3.phpt
@@ -122,7 +122,7 @@ $stmtarray = array(
);
oci8_test_sql_execute($c, $stmtarray);
-
+
echo "Done\n";
?>
--EXPECTF--
diff --git a/ext/oci8/tests/fetch_array.phpt b/ext/oci8/tests/fetch_array.phpt
index db5c6c554b..03640e5901 100644
--- a/ext/oci8/tests/fetch_array.phpt
+++ b/ext/oci8/tests/fetch_array.phpt
@@ -4,7 +4,7 @@ oci_fetch_array()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/fetch_into1.phpt b/ext/oci8/tests/fetch_into1.phpt
index 8f7a6bdeb8..05fc78aa01 100644
--- a/ext/oci8/tests/fetch_into1.phpt
+++ b/ext/oci8/tests/fetch_into1.phpt
@@ -4,7 +4,7 @@ various ocifetchinto() tests
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/fetch_into2.phpt b/ext/oci8/tests/fetch_into2.phpt
index 7bef2c0821..39b1dc72b9 100644
--- a/ext/oci8/tests/fetch_into2.phpt
+++ b/ext/oci8/tests/fetch_into2.phpt
@@ -4,7 +4,7 @@ ocifetchinto() & wrong number of params
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/fetch_object.phpt b/ext/oci8/tests/fetch_object.phpt
index 73711baa18..bd49c5ed47 100644
--- a/ext/oci8/tests/fetch_object.phpt
+++ b/ext/oci8/tests/fetch_object.phpt
@@ -4,7 +4,7 @@ oci_fetch_object()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/fetch_object_1.phpt b/ext/oci8/tests/fetch_object_1.phpt
index 4f14a5ec04..88dcd5ec62 100644
--- a/ext/oci8/tests/fetch_object_1.phpt
+++ b/ext/oci8/tests/fetch_object_1.phpt
@@ -4,7 +4,7 @@ oci_fetch_object()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/field_funcs.phpt b/ext/oci8/tests/field_funcs.phpt
index 92b77187a8..5448fcbc34 100644
--- a/ext/oci8/tests/field_funcs.phpt
+++ b/ext/oci8/tests/field_funcs.phpt
@@ -4,7 +4,7 @@ oci_field_*() family
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/field_funcs_old.phpt b/ext/oci8/tests/field_funcs_old.phpt
index 629c5508f1..e088463617 100644
--- a/ext/oci8/tests/field_funcs_old.phpt
+++ b/ext/oci8/tests/field_funcs_old.phpt
@@ -4,7 +4,7 @@ ocicolumn*() family
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/imp_res_1.phpt b/ext/oci8/tests/imp_res_1.phpt
index a36f89f4da..8f3608dba3 100644
--- a/ext/oci8/tests/imp_res_1.phpt
+++ b/ext/oci8/tests/imp_res_1.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: basic test
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_2.phpt b/ext/oci8/tests/imp_res_2.phpt
index 860a5fbb34..ca92eba3d3 100644
--- a/ext/oci8/tests/imp_res_2.phpt
+++ b/ext/oci8/tests/imp_res_2.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: Zero Rows
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_3.phpt b/ext/oci8/tests/imp_res_3.phpt
index 0fc4815893..53c0465128 100644
--- a/ext/oci8/tests/imp_res_3.phpt
+++ b/ext/oci8/tests/imp_res_3.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: bigger data size
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_4.phpt b/ext/oci8/tests/imp_res_4.phpt
index 762ae77224..d938f9f4ce 100644
--- a/ext/oci8/tests/imp_res_4.phpt
+++ b/ext/oci8/tests/imp_res_4.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_fetch
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_5.phpt b/ext/oci8/tests/imp_res_5.phpt
index 564a7a3740..7c06dee78f 100644
--- a/ext/oci8/tests/imp_res_5.phpt
+++ b/ext/oci8/tests/imp_res_5.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_fetch_all
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_6.phpt b/ext/oci8/tests/imp_res_6.phpt
index f94efe70db..278c47b311 100644
--- a/ext/oci8/tests/imp_res_6.phpt
+++ b/ext/oci8/tests/imp_res_6.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: alternating oci_fetch_* calls
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_7.phpt b/ext/oci8/tests/imp_res_7.phpt
index 05ae5e6857..abcf8aeb1b 100644
--- a/ext/oci8/tests/imp_res_7.phpt
+++ b/ext/oci8/tests/imp_res_7.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: bigger data size
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_call_error.phpt b/ext/oci8/tests/imp_res_call_error.phpt
index bae2c47e9e..774131ee00 100644
--- a/ext/oci8/tests/imp_res_call_error.phpt
+++ b/ext/oci8/tests/imp_res_call_error.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: using SQL 'CALL'
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_cancel.phpt b/ext/oci8/tests/imp_res_cancel.phpt
index 663d630dfb..692a1fabb1 100644
--- a/ext/oci8/tests/imp_res_cancel.phpt
+++ b/ext/oci8/tests/imp_res_cancel.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_cancel
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_close.phpt b/ext/oci8/tests/imp_res_close.phpt
index f01205dc48..de85a3d1ca 100644
--- a/ext/oci8/tests/imp_res_close.phpt
+++ b/ext/oci8/tests/imp_res_close.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_free_statement #1
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_cursor.phpt b/ext/oci8/tests/imp_res_cursor.phpt
index cac0a5d1c0..6ba1261f25 100644
--- a/ext/oci8/tests/imp_res_cursor.phpt
+++ b/ext/oci8/tests/imp_res_cursor.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: nested cursor
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_dbmsoutput.phpt b/ext/oci8/tests/imp_res_dbmsoutput.phpt
index 8c9808d96c..6f1d7cb215 100644
--- a/ext/oci8/tests/imp_res_dbmsoutput.phpt
+++ b/ext/oci8/tests/imp_res_dbmsoutput.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: interleaved with DBMS_OUTPUT
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_field.phpt b/ext/oci8/tests/imp_res_field.phpt
index 54b8295cf9..5cb88569ca 100644
--- a/ext/oci8/tests/imp_res_field.phpt
+++ b/ext/oci8/tests/imp_res_field.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: field tests
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_func_error.phpt b/ext/oci8/tests/imp_res_func_error.phpt
index 73c0557930..a5c7e84241 100644
--- a/ext/oci8/tests/imp_res_func_error.phpt
+++ b/ext/oci8/tests/imp_res_func_error.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: test with a PL/SQL function
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_1.phpt b/ext/oci8/tests/imp_res_get_1.phpt
index 665f773b57..226f1e557b 100644
--- a/ext/oci8/tests/imp_res_get_1.phpt
+++ b/ext/oci8/tests/imp_res_get_1.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: basic test
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_2.phpt b/ext/oci8/tests/imp_res_get_2.phpt
index b20b8dd397..1747e4b4e3 100644
--- a/ext/oci8/tests/imp_res_get_2.phpt
+++ b/ext/oci8/tests/imp_res_get_2.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: similar to imp_res_get_1 but with unrolled loop
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_3.phpt b/ext/oci8/tests/imp_res_get_3.phpt
index 15b2efaef0..dd3e141fa5 100644
--- a/ext/oci8/tests/imp_res_get_3.phpt
+++ b/ext/oci8/tests/imp_res_get_3.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: basic test 3
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_4.phpt b/ext/oci8/tests/imp_res_get_4.phpt
index ea7fb8775a..658ec9c050 100644
--- a/ext/oci8/tests/imp_res_get_4.phpt
+++ b/ext/oci8/tests/imp_res_get_4.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: interleaved fetches
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_5.phpt b/ext/oci8/tests/imp_res_get_5.phpt
index 3cfa0967a2..cee25cc509 100644
--- a/ext/oci8/tests/imp_res_get_5.phpt
+++ b/ext/oci8/tests/imp_res_get_5.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: get from wrong statement
--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");
}
?>
@@ -27,7 +27,7 @@ function print_row($row)
echo "\n";
}
-$plsql =
+$plsql =
"declare
c1 sys_refcursor;
begin
diff --git a/ext/oci8/tests/imp_res_get_all.phpt b/ext/oci8/tests/imp_res_get_all.phpt
index d2dcbea6c7..02ea0cbe1f 100644
--- a/ext/oci8/tests/imp_res_get_all.phpt
+++ b/ext/oci8/tests/imp_res_get_all.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: oci_fetch_all
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_cancel.phpt b/ext/oci8/tests/imp_res_get_cancel.phpt
index 7dbcecbfe9..a9a6d72323 100644
--- a/ext/oci8/tests/imp_res_get_cancel.phpt
+++ b/ext/oci8/tests/imp_res_get_cancel.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: oci_cancel
--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");
}
?>
@@ -53,4 +53,4 @@ Test 1
1
3
===DONE===
-
+
diff --git a/ext/oci8/tests/imp_res_get_close_1.phpt b/ext/oci8/tests/imp_res_get_close_1.phpt
index 0e3b3b0c13..20f46b4f1c 100644
--- a/ext/oci8/tests/imp_res_get_close_1.phpt
+++ b/ext/oci8/tests/imp_res_get_close_1.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: oci_free_statement #1
--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");
}
?>
@@ -21,7 +21,7 @@ require(dirname(__FILE__).'/connect.inc');
// Initialization
-$plsql =
+$plsql =
"declare
c1 sys_refcursor;
begin
diff --git a/ext/oci8/tests/imp_res_get_close_2.phpt b/ext/oci8/tests/imp_res_get_close_2.phpt
index 419a4f4f05..efc0e6da60 100644
--- a/ext/oci8/tests/imp_res_get_close_2.phpt
+++ b/ext/oci8/tests/imp_res_get_close_2.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: oci_free_statement #2
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_close_3.phpt b/ext/oci8/tests/imp_res_get_close_3.phpt
index 4793a6c882..3cf0b503de 100644
--- a/ext/oci8/tests/imp_res_get_close_3.phpt
+++ b/ext/oci8/tests/imp_res_get_close_3.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: oci_free_statement #3
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_cursor.phpt b/ext/oci8/tests/imp_res_get_cursor.phpt
index ccdb6f5490..e00472d18e 100644
--- a/ext/oci8/tests/imp_res_get_cursor.phpt
+++ b/ext/oci8/tests/imp_res_get_cursor.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: nested cursor
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_dbmsoutput.phpt b/ext/oci8/tests/imp_res_get_dbmsoutput.phpt
index cbc2389e46..a20d1eaf69 100644
--- a/ext/oci8/tests/imp_res_get_dbmsoutput.phpt
+++ b/ext/oci8/tests/imp_res_get_dbmsoutput.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: interleaved with DBMS_OUTPUT
--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");
}
?>
@@ -153,4 +153,4 @@ array(3) {
string(6) "Line 3"
}
===DONE===
-
+
diff --git a/ext/oci8/tests/imp_res_get_exec.phpt b/ext/oci8/tests/imp_res_get_exec.phpt
index dbd8f3ef3a..d36fb66136 100644
--- a/ext/oci8/tests/imp_res_get_exec.phpt
+++ b/ext/oci8/tests/imp_res_get_exec.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: Execute twice
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_get_none.phpt b/ext/oci8/tests/imp_res_get_none.phpt
index 981f4945e2..f97b798750 100644
--- a/ext/oci8/tests/imp_res_get_none.phpt
+++ b/ext/oci8/tests/imp_res_get_none.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: oci_get_implicit_resultset: no implicit results
--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");
}
?>
diff --git a/ext/oci8/tests/imp_res_insert.phpt b/ext/oci8/tests/imp_res_insert.phpt
index d9c0705b55..2fea690607 100644
--- a/ext/oci8/tests/imp_res_insert.phpt
+++ b/ext/oci8/tests/imp_res_insert.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: Commit modes
--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");
}
?>
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;
diff --git a/ext/oci8/tests/imp_res_prefetch.phpt b/ext/oci8/tests/imp_res_prefetch.phpt
index 5acdd518e5..8daa2ff414 100644
--- a/ext/oci8/tests/imp_res_prefetch.phpt
+++ b/ext/oci8/tests/imp_res_prefetch.phpt
@@ -1,8 +1,8 @@
--TEST--
Oracle Database 12c Implicit Result Sets: basic test
--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");
}
?>
diff --git a/ext/oci8/tests/ini_1.phpt b/ext/oci8/tests/ini_1.phpt
index 2fba79813e..0c3597b619 100644
--- a/ext/oci8/tests/ini_1.phpt
+++ b/ext/oci8/tests/ini_1.phpt
@@ -1,10 +1,10 @@
--TEST--
Test OCI8 php.ini settings
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die ("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die ("skip no oci8 extension");
preg_match('/^[[:digit:]]+/', oci_client_version(), $matches);
-if (!(isset($matches[0]) && $matches[0] >= 11)) {
+if (!(isset($matches[0]) && $matches[0] >= 11)) {
die("skip works only with Oracle 11g or greater version of Oracle client libraries");
}
?>
diff --git a/ext/oci8/tests/lob_001.phpt b/ext/oci8/tests/lob_001.phpt
index cb94bfae13..a6967fa787 100644
--- a/ext/oci8/tests/lob_001.phpt
+++ b/ext/oci8/tests/lob_001.phpt
Binary files differ
diff --git a/ext/oci8/tests/lob_002.phpt b/ext/oci8/tests/lob_002.phpt
index 912c27b989..f2c585b817 100644
--- a/ext/oci8/tests/lob_002.phpt
+++ b/ext/oci8/tests/lob_002.phpt
@@ -4,7 +4,7 @@ oci_lob_write() and friends (with errors)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_003.phpt b/ext/oci8/tests/lob_003.phpt
index 4775444e27..95193bccf6 100644
--- a/ext/oci8/tests/lob_003.phpt
+++ b/ext/oci8/tests/lob_003.phpt
Binary files differ
diff --git a/ext/oci8/tests/lob_004.phpt b/ext/oci8/tests/lob_004.phpt
index 3f583c67a2..03d4201521 100644
--- a/ext/oci8/tests/lob_004.phpt
+++ b/ext/oci8/tests/lob_004.phpt
@@ -4,7 +4,7 @@ oci_lob_seek()/rewind()/append()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_005.phpt b/ext/oci8/tests/lob_005.phpt
index a1e3c3bd8c..b43ce7ed25 100644
--- a/ext/oci8/tests/lob_005.phpt
+++ b/ext/oci8/tests/lob_005.phpt
@@ -4,7 +4,7 @@ oci_lob_is_equal()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_006.phpt b/ext/oci8/tests/lob_006.phpt
index ae6b37c960..38e8d8b15e 100644
--- a/ext/oci8/tests/lob_006.phpt
+++ b/ext/oci8/tests/lob_006.phpt
Binary files differ
diff --git a/ext/oci8/tests/lob_007.phpt b/ext/oci8/tests/lob_007.phpt
index 1ca236ea28..3553502abb 100644
--- a/ext/oci8/tests/lob_007.phpt
+++ b/ext/oci8/tests/lob_007.phpt
@@ -4,7 +4,7 @@ oci_lob_write()/size()/load()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_008.phpt b/ext/oci8/tests/lob_008.phpt
index 6f4cc05648..38f03fd3c1 100644
--- a/ext/oci8/tests/lob_008.phpt
+++ b/ext/oci8/tests/lob_008.phpt
@@ -4,7 +4,7 @@ oci_lob_write()/read()/eof()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_009.phpt b/ext/oci8/tests/lob_009.phpt
index dc7c1b4628..96bcb5f3d6 100644
--- a/ext/oci8/tests/lob_009.phpt
+++ b/ext/oci8/tests/lob_009.phpt
@@ -4,7 +4,7 @@ oci_lob_import()/read()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_010.phpt b/ext/oci8/tests/lob_010.phpt
index 3361c4b9b5..e89244d662 100644
--- a/ext/oci8/tests/lob_010.phpt
+++ b/ext/oci8/tests/lob_010.phpt
@@ -4,7 +4,7 @@ oci_lob_save()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_011.phpt b/ext/oci8/tests/lob_011.phpt
index 7580d4caf3..b1d1b35623 100644
--- a/ext/oci8/tests/lob_011.phpt
+++ b/ext/oci8/tests/lob_011.phpt
@@ -4,7 +4,7 @@ oci_lob_copy()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_012.phpt b/ext/oci8/tests/lob_012.phpt
index 99b971a0bd..d85440a062 100644
--- a/ext/oci8/tests/lob_012.phpt
+++ b/ext/oci8/tests/lob_012.phpt
@@ -1,10 +1,10 @@
--TEST--
-oci_lob_export()
+oci_lob_export()
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_013.phpt b/ext/oci8/tests/lob_013.phpt
index 556e56dc3f..b345e60925 100644
--- a/ext/oci8/tests/lob_013.phpt
+++ b/ext/oci8/tests/lob_013.phpt
@@ -4,7 +4,7 @@ lob buffering
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_014.phpt b/ext/oci8/tests/lob_014.phpt
index e319178683..7d8ede6deb 100644
--- a/ext/oci8/tests/lob_014.phpt
+++ b/ext/oci8/tests/lob_014.phpt
@@ -1,10 +1,10 @@
--TEST--
-oci_lob_free()/close()
+oci_lob_free()/close()
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_015.phpt b/ext/oci8/tests/lob_015.phpt
index 59e8fec42a..cd9e4da634 100644
--- a/ext/oci8/tests/lob_015.phpt
+++ b/ext/oci8/tests/lob_015.phpt
@@ -4,7 +4,7 @@ various tests with wrong param count
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_016.phpt b/ext/oci8/tests/lob_016.phpt
index e0f78e6a9f..9f3b2f690f 100644
--- a/ext/oci8/tests/lob_016.phpt
+++ b/ext/oci8/tests/lob_016.phpt
@@ -4,7 +4,7 @@ returning multiple lobs
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_017.phpt b/ext/oci8/tests/lob_017.phpt
index d27a09052e..852c4bfcc7 100644
--- a/ext/oci8/tests/lob_017.phpt
+++ b/ext/oci8/tests/lob_017.phpt
@@ -4,7 +4,7 @@ returning multiple lobs (using persistent connection)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_018.phpt b/ext/oci8/tests/lob_018.phpt
index 352cd50337..f73bbf54b8 100644
--- a/ext/oci8/tests/lob_018.phpt
+++ b/ext/oci8/tests/lob_018.phpt
@@ -4,7 +4,7 @@ fetching the same lob several times
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_019.phpt b/ext/oci8/tests/lob_019.phpt
index 19c21f4a78..e0e4bf5d4e 100644
--- a/ext/oci8/tests/lob_019.phpt
+++ b/ext/oci8/tests/lob_019.phpt
Binary files differ
diff --git a/ext/oci8/tests/lob_020.phpt b/ext/oci8/tests/lob_020.phpt
index 3faa89ff71..5f430675ac 100644
--- a/ext/oci8/tests/lob_020.phpt
+++ b/ext/oci8/tests/lob_020.phpt
Binary files differ
diff --git a/ext/oci8/tests/lob_021.phpt b/ext/oci8/tests/lob_021.phpt
index 16b389dd05..0cf73c36eb 100644
--- a/ext/oci8/tests/lob_021.phpt
+++ b/ext/oci8/tests/lob_021.phpt
@@ -1,10 +1,10 @@
--TEST--
-oci_lob_free()/close()
+oci_lob_free()/close()
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_022.phpt b/ext/oci8/tests/lob_022.phpt
index 94d175b3bd..0c548b3fbb 100644
--- a/ext/oci8/tests/lob_022.phpt
+++ b/ext/oci8/tests/lob_022.phpt
@@ -4,7 +4,7 @@ fetching the same lob several times
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_023.phpt b/ext/oci8/tests/lob_023.phpt
index 1a1ee80ead..14ae75eee6 100644
--- a/ext/oci8/tests/lob_023.phpt
+++ b/ext/oci8/tests/lob_023.phpt
@@ -4,7 +4,7 @@ oci_lob_import()/read()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_024.phpt b/ext/oci8/tests/lob_024.phpt
index ed9b567273..25642991da 100644
--- a/ext/oci8/tests/lob_024.phpt
+++ b/ext/oci8/tests/lob_024.phpt
@@ -4,7 +4,7 @@ oci_lob_load()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_025.phpt b/ext/oci8/tests/lob_025.phpt
index 1566944cb8..12e46ece95 100644
--- a/ext/oci8/tests/lob_025.phpt
+++ b/ext/oci8/tests/lob_025.phpt
@@ -4,7 +4,7 @@ oci_lob_read() tests
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_026.phpt b/ext/oci8/tests/lob_026.phpt
index aa4c254dda..a30a6eb049 100644
--- a/ext/oci8/tests/lob_026.phpt
+++ b/ext/oci8/tests/lob_026.phpt
@@ -4,7 +4,7 @@ oci_lob_seek()/rewind()/append()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_027.phpt b/ext/oci8/tests/lob_027.phpt
index 49850635ca..61656faf59 100644
--- a/ext/oci8/tests/lob_027.phpt
+++ b/ext/oci8/tests/lob_027.phpt
@@ -4,7 +4,7 @@ oci_lob_truncate()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_028.phpt b/ext/oci8/tests/lob_028.phpt
index 8da7a8af8f..e48d33fff1 100644
--- a/ext/oci8/tests/lob_028.phpt
+++ b/ext/oci8/tests/lob_028.phpt
@@ -4,7 +4,7 @@ Test descriptor types for oci_new_descriptor()
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_029.phpt b/ext/oci8/tests/lob_029.phpt
index 85b230e900..f018a74575 100644
--- a/ext/oci8/tests/lob_029.phpt
+++ b/ext/oci8/tests/lob_029.phpt
@@ -89,7 +89,7 @@ oci_execute($s);
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Test 1. Check how many rows in the table
array(1) {
["NUMROWS"]=>
diff --git a/ext/oci8/tests/lob_030.phpt b/ext/oci8/tests/lob_030.phpt
index d7fd21b961..013a3f0c45 100644
--- a/ext/oci8/tests/lob_030.phpt
+++ b/ext/oci8/tests/lob_030.phpt
@@ -4,7 +4,7 @@ Test piecewise fetch of CLOBs equal to, and larger than PHP_OCI_LOB_BUFFER_SIZE
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_031.phpt b/ext/oci8/tests/lob_031.phpt
index 39d27fd4a3..52674c6782 100644
--- a/ext/oci8/tests/lob_031.phpt
+++ b/ext/oci8/tests/lob_031.phpt
@@ -4,7 +4,7 @@ Test LOB->read(), LOB->seek() and LOB->tell() with nul bytes in data
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_032.phpt b/ext/oci8/tests/lob_032.phpt
index 97b63c984d..4b6f3d08f1 100644
--- a/ext/oci8/tests/lob_032.phpt
+++ b/ext/oci8/tests/lob_032.phpt
@@ -4,7 +4,7 @@ oci_lob_write() and friends
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_033.phpt b/ext/oci8/tests/lob_033.phpt
index cdce2d0863..b27156668d 100644
--- a/ext/oci8/tests/lob_033.phpt
+++ b/ext/oci8/tests/lob_033.phpt
@@ -4,7 +4,7 @@ various oci_lob_write() error messages
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_034.phpt b/ext/oci8/tests/lob_034.phpt
index 7561f64ff8..70cdd0ba6e 100644
--- a/ext/oci8/tests/lob_034.phpt
+++ b/ext/oci8/tests/lob_034.phpt
@@ -4,7 +4,7 @@ lob buffering - 2
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_035.phpt b/ext/oci8/tests/lob_035.phpt
index 37e010ce79..7ab6678e9e 100644
--- a/ext/oci8/tests/lob_035.phpt
+++ b/ext/oci8/tests/lob_035.phpt
@@ -1,10 +1,10 @@
--TEST--
-oci_lob_copy() - 2
+oci_lob_copy() - 2
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_036.phpt b/ext/oci8/tests/lob_036.phpt
index 060b1713cf..da1ce3b881 100644
--- a/ext/oci8/tests/lob_036.phpt
+++ b/ext/oci8/tests/lob_036.phpt
@@ -4,7 +4,7 @@ Exercise cleanup code when LOB buffering is on
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_037.phpt b/ext/oci8/tests/lob_037.phpt
index 75db589aae..a8c868a869 100644
--- a/ext/oci8/tests/lob_037.phpt
+++ b/ext/oci8/tests/lob_037.phpt
@@ -4,7 +4,7 @@ Fetching two different lobs and using them after fetch
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_038.phpt b/ext/oci8/tests/lob_038.phpt
index 34b7b48b66..74388f180b 100644
--- a/ext/oci8/tests/lob_038.phpt
+++ b/ext/oci8/tests/lob_038.phpt
@@ -4,7 +4,7 @@ Array fetch CLOB and BLOB
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_039.phpt b/ext/oci8/tests/lob_039.phpt
index 02d057e2bb..db398e3976 100644
--- a/ext/oci8/tests/lob_039.phpt
+++ b/ext/oci8/tests/lob_039.phpt
@@ -4,7 +4,7 @@ Test CLOB->write() for multiple inserts
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_040.phpt b/ext/oci8/tests/lob_040.phpt
index 0d60054b22..779b3b16f2 100644
--- a/ext/oci8/tests/lob_040.phpt
+++ b/ext/oci8/tests/lob_040.phpt
@@ -4,7 +4,7 @@ Bug #37706 (Test LOB locator reuse. Extends simple test of lob_037.phpt)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -23,7 +23,7 @@ echo "Test 1: CLOB as locator\n";
$s = oci_parse($c, "select clob from ".$schema.$table_name." order by id");
oci_execute($s);
-$row = array();
+$row = array();
for ($i = 0; $i < NUMLOBS; $i++) {
$row[$i] = oci_fetch_array($s, OCI_NUM);
}
@@ -35,7 +35,7 @@ for ($i = 0; $i < NUMLOBS; $i++) {
echo "Pos 2: " . $row[$i][0]->tell() . "\n";
echo "Data: " . $row[$i][0]->read(12) . "\n";
}
-
+
echo "Done\n";
?>
diff --git a/ext/oci8/tests/lob_041.phpt b/ext/oci8/tests/lob_041.phpt
index c5c0a209f3..944952982f 100644
--- a/ext/oci8/tests/lob_041.phpt
+++ b/ext/oci8/tests/lob_041.phpt
@@ -4,7 +4,7 @@ Check LOBS are valid after statement free
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_042.phpt b/ext/oci8/tests/lob_042.phpt
index 264c610455..00f280524c 100644
--- a/ext/oci8/tests/lob_042.phpt
+++ b/ext/oci8/tests/lob_042.phpt
@@ -4,7 +4,7 @@ Check various LOB error messages
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -39,9 +39,9 @@ var_dump($blob->import("does_not_exist"));
var_dump($blob->saveFile("does_not_exist"));
require(dirname(__FILE__).'/drop_table.inc');
-
+
echo "Done\n";
-
+
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
diff --git a/ext/oci8/tests/lob_043.phpt b/ext/oci8/tests/lob_043.phpt
index 4cd159510b..5d723be447 100644
--- a/ext/oci8/tests/lob_043.phpt
+++ b/ext/oci8/tests/lob_043.phpt
@@ -16,7 +16,7 @@ require(dirname(__FILE__).'/connect.inc');
$stmtarray = array(
"drop table lob_043_tab",
"create table lob_043_tab(id number, c1 clob)",
- "begin
+ "begin
for i in 1..50000 loop
insert into lob_043_tab (id, c1) values (i, i || ' abcdefghijklmnopq');
end loop;
diff --git a/ext/oci8/tests/lob_044.phpt b/ext/oci8/tests/lob_044.phpt
index 28599cc33b..a4ea684ae0 100644
--- a/ext/oci8/tests/lob_044.phpt
+++ b/ext/oci8/tests/lob_044.phpt
@@ -4,7 +4,7 @@ oci_lob_truncate() with default parameter value
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_aliases.phpt b/ext/oci8/tests/lob_aliases.phpt
index 3ece9a5895..8707533d63 100644
--- a/ext/oci8/tests/lob_aliases.phpt
+++ b/ext/oci8/tests/lob_aliases.phpt
@@ -4,7 +4,7 @@ LOB method aliases
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_null.phpt b/ext/oci8/tests/lob_null.phpt
index be3e53453d..45d688ae68 100644
--- a/ext/oci8/tests/lob_null.phpt
+++ b/ext/oci8/tests/lob_null.phpt
@@ -4,7 +4,7 @@ Test null data for CLOBs
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -18,14 +18,14 @@ $s = oci_parse($c, 'drop table lob_null_tab');
$s = oci_parse($c, 'create table lob_null_tab (id number, data clob)');
oci_execute($s);
-$s = oci_parse($c,
+$s = oci_parse($c,
'create or replace procedure lob_null_proc_in (pid in number, pdata in CLOB)
as begin
insert into lob_null_tab (id, data) values (pid, pdata);
end;');
oci_execute($s);
-$s = oci_parse($c,
+$s = oci_parse($c,
'create or replace procedure lob_null_proc_out (pid in number, pdata out clob)
as begin
select data into pdata from lob_null_tab where id = pid;
@@ -43,7 +43,7 @@ $r = @oci_execute($s);
if (!$r) {
$m = oci_error($s);
echo $m['message'], "\n";
-}
+}
else {
$lob->close();
}
@@ -57,7 +57,7 @@ $r = @oci_execute($s);
if (!$r) {
$m = oci_error($s);
echo $m['message'], "\n";
-}
+}
else {
$lob->close();
}
@@ -71,7 +71,7 @@ $r = @oci_execute($s);
if (!$r) {
$m = oci_error($s);
echo $m['message'], "\n";
-}
+}
else {
$lob->close();
}
@@ -87,7 +87,7 @@ $r = @oci_execute($s);
if (!$r) {
$m = oci_error($s);
echo $m['message'], "\n";
-}
+}
else {
$lob->close();
}
@@ -101,7 +101,7 @@ $r = @oci_execute($s);
if (!$r) {
$m = oci_error($s);
echo $m['message'], "\n";
-}
+}
else {
$lob->close();
}
@@ -115,7 +115,7 @@ $r = @oci_execute($s);
if (!$r) {
$m = oci_error($s);
echo $m['message'], "\n";
-}
+}
else {
$lob->close();
}
@@ -188,7 +188,7 @@ $s = oci_parse($c, 'drop table lob_null_tab');
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Temporary CLOB: NULL
Temporary CLOB: ''
Temporary CLOB: text
diff --git a/ext/oci8/tests/lob_temp.phpt b/ext/oci8/tests/lob_temp.phpt
index 9a07fb5ac0..513496942b 100644
--- a/ext/oci8/tests/lob_temp.phpt
+++ b/ext/oci8/tests/lob_temp.phpt
@@ -4,7 +4,7 @@ temporary lobs
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_temp1.phpt b/ext/oci8/tests/lob_temp1.phpt
index e27ea6d47d..86c29c1b51 100644
--- a/ext/oci8/tests/lob_temp1.phpt
+++ b/ext/oci8/tests/lob_temp1.phpt
@@ -4,7 +4,7 @@ closing temporary lobs
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/lob_temp2.phpt b/ext/oci8/tests/lob_temp2.phpt
index d774b4d724..fd5b56333f 100644
--- a/ext/oci8/tests/lob_temp2.phpt
+++ b/ext/oci8/tests/lob_temp2.phpt
@@ -5,7 +5,7 @@ Writing temporary lob before binding
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');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/null_byte_2.phpt b/ext/oci8/tests/null_byte_2.phpt
index 01fb87235a..0bb9a38f65 100644
--- a/ext/oci8/tests/null_byte_2.phpt
+++ b/ext/oci8/tests/null_byte_2.phpt
@@ -4,7 +4,7 @@ Null bytes in SQL statements
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--INI--
display_errors = On
error_reporting = E_WARNING
@@ -28,7 +28,7 @@ $s = oci_parse($c, "select * from dual where :bv = 1");
$bv = 1;
oci_bind_by_name($s, ":bv\0:bv", $bv);
oci_execute($s);
-
+
?>
===DONE===
diff --git a/ext/oci8/tests/oci_execute_segfault.phpt b/ext/oci8/tests/oci_execute_segfault.phpt
index 59eb8013e9..08a41a82ec 100644
--- a/ext/oci8/tests/oci_execute_segfault.phpt
+++ b/ext/oci8/tests/oci_execute_segfault.phpt
@@ -4,7 +4,7 @@ oci_execute() segfault after repeated bind of LOB descriptor
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
diff --git a/ext/oci8/tests/password.phpt b/ext/oci8/tests/password.phpt
index 8ea81d3fc0..d48950efcd 100644
--- a/ext/oci8/tests/password.phpt
+++ b/ext/oci8/tests/password.phpt
@@ -1,11 +1,11 @@
--TEST--
oci_password_change() for non-persistent connections
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/details.inc");
if (empty($dbase)) die ("skip requires database connection string be set");
-if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
+if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
if ($test_drcp) die("skip password change not supported in DRCP Mode");
?>
--FILE--
@@ -35,7 +35,7 @@ var_dump($c2);
$rn2 = (int)$c2;
// Despite using the old password this connect should succeed and return the original resource
-$c3 = oci_connect("testuser_pw", "testuserpwd", $dbase);
+$c3 = oci_connect("testuser_pw", "testuserpwd", $dbase);
var_dump($c3);
$rn3 = (int)$c3;
diff --git a/ext/oci8/tests/password_2.phpt b/ext/oci8/tests/password_2.phpt
index 13da9ff7b2..62fddb4c36 100644
--- a/ext/oci8/tests/password_2.phpt
+++ b/ext/oci8/tests/password_2.phpt
@@ -1,11 +1,11 @@
--TEST--
oci_password_change() for persistent connections
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/details.inc");
if (empty($dbase)) die ("skip requires database connection string be set");
-if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
+if (strcasecmp($user, "system") && strcasecmp($user, "sys")) die("skip needs to be run as a DBA user");
if ($test_drcp) die("skip password change not supported in DRCP Mode");
?>
--FILE--
@@ -34,7 +34,7 @@ var_dump($c2);
$rn2 = (int)$c2;
// Despite using the old password this connect should succeed and return the original resource
-$c3 = oci_pconnect("testuser_pw2", "testuserpwd", $dbase);
+$c3 = oci_pconnect("testuser_pw2", "testuserpwd", $dbase);
var_dump($c3);
$rn3 = (int)$c3;
diff --git a/ext/oci8/tests/pecl_bug10194.phpt b/ext/oci8/tests/pecl_bug10194.phpt
index 3c1c7887c2..42df6905db 100644
--- a/ext/oci8/tests/pecl_bug10194.phpt
+++ b/ext/oci8/tests/pecl_bug10194.phpt
@@ -1,5 +1,5 @@
--TEST--
-PECL Bug #10194 (segfault in Instant Client when memory_limit is reached inside the callback)
+PECL Bug #10194 (segfault in Instant Client when memory_limit is reached inside the callback)
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
@@ -8,7 +8,7 @@ if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
if (getenv("USE_ZEND_ALLOC") === "0") {
die("skip Zend MM disabled");
}
-?>
+?>
--INI--
memory_limit=10M
--FILE--
diff --git a/ext/oci8/tests/pecl_bug10194_blob.phpt b/ext/oci8/tests/pecl_bug10194_blob.phpt
index 96f94bcf4c..aab1cf8882 100644
--- a/ext/oci8/tests/pecl_bug10194_blob.phpt
+++ b/ext/oci8/tests/pecl_bug10194_blob.phpt
@@ -1,5 +1,5 @@
--TEST--
-PECL Bug #10194 (segfault in Instant Client when memory_limit is reached inside the callback)
+PECL Bug #10194 (segfault in Instant Client when memory_limit is reached inside the callback)
--SKIPIF--
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
@@ -9,14 +9,14 @@ if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
if (getenv("USE_ZEND_ALLOC") === "0") {
die("skip Zend MM disabled");
}
-?>
+?>
--INI--
memory_limit=3M
--FILE--
<?php
// This test is dependent on the behavior of the memory manager
-
+
require(dirname(__FILE__).'/connect.inc');
require(dirname(__FILE__).'/create_table.inc');
@@ -52,7 +52,7 @@ require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Before load()
Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line %d
diff --git a/ext/oci8/tests/pecl_bug10194_blob_64.phpt b/ext/oci8/tests/pecl_bug10194_blob_64.phpt
index e1a4cc034e..ca5e568be3 100644
--- a/ext/oci8/tests/pecl_bug10194_blob_64.phpt
+++ b/ext/oci8/tests/pecl_bug10194_blob_64.phpt
@@ -1,7 +1,7 @@
--TEST--
-PECL Bug #10194 (segfault in Instant Client when memory_limit is reached inside the callback)
+PECL Bug #10194 (segfault in Instant Client when memory_limit is reached inside the callback)
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on thes
require(dirname(__FILE__).'/skipif.inc');
if (getenv('SKIP_SLOW_TESTS')) die('skip slow tests excluded by request');
@@ -16,7 +16,7 @@ memory_limit=6M
<?php
// This test is dependent on the behavior of the memory manager
-
+
require dirname(__FILE__).'/connect.inc';
require dirname(__FILE__).'/create_table.inc';
@@ -53,7 +53,7 @@ require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Before load()
Fatal error: Allowed memory size of %d bytes exhausted%s(tried to allocate %d bytes) in %s on line %d
diff --git a/ext/oci8/tests/pecl_bug16035.phpt b/ext/oci8/tests/pecl_bug16035.phpt
index 29ff6439d1..d557e0a5c0 100644
--- a/ext/oci8/tests/pecl_bug16035.phpt
+++ b/ext/oci8/tests/pecl_bug16035.phpt
@@ -1,8 +1,8 @@
--TEST--
PECL Bug #16035 (Crash with Oracle 10.2 connecting with a character set but ORACLE_HOME is not set)
--SKIPIF--
-<?php
-if (!extension_loaded('oci8')) die ("skip no oci8 extension");
+<?php
+if (!extension_loaded('oci8')) die ("skip no oci8 extension");
ob_start();
phpinfo(INFO_MODULES);
$phpinfo = ob_get_clean();
diff --git a/ext/oci8/tests/pecl_bug16842.phpt b/ext/oci8/tests/pecl_bug16842.phpt
index ca24d0d276..52c6df8e33 100644
--- a/ext/oci8/tests/pecl_bug16842.phpt
+++ b/ext/oci8/tests/pecl_bug16842.phpt
@@ -4,7 +4,7 @@ PECL Bug #16842 (NO_DATA_FOUND exception is a warning)
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--INI--
error_reporting = E_WARNING
--FILE--
diff --git a/ext/oci8/tests/pecl_bug8816.phpt b/ext/oci8/tests/pecl_bug8816.phpt
index 71771b2100..9e151f6a8c 100644
--- a/ext/oci8/tests/pecl_bug8816.phpt
+++ b/ext/oci8/tests/pecl_bug8816.phpt
@@ -4,7 +4,7 @@ PECL Bug #8816 (issue in php_oci_statement_fetch with more than one piecewise co
<?php
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
-?>
+?>
--FILE--
<?php
@@ -47,8 +47,8 @@ SELECT
t1.l1, t2.l2
FROM
t1, t2
-WHERE
-t1.id = t2.id
+WHERE
+t1.id = t2.id
ORDER BY t1.id ASC
";
diff --git a/ext/oci8/tests/refcur_prefetch_1.phpt b/ext/oci8/tests/refcur_prefetch_1.phpt
index c7e200932a..97fc7dce20 100644
--- a/ext/oci8/tests/refcur_prefetch_1.phpt
+++ b/ext/oci8/tests/refcur_prefetch_1.phpt
@@ -5,7 +5,7 @@ Prefetch with REF cursor. Test different values for prefetch with oci_set_prefet
if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
-if (!(isset($matches[0]) &&
+if (!(isset($matches[0]) &&
($matches[1] >= 10))) {
die("skip expected output only valid when using Oracle 10g or greater database server");
}
@@ -21,7 +21,7 @@ if (!(isset($matches[0]) &&
<?php
require(dirname(__FILE__)."/connect.inc");
-// Creates the necessary package and tables.
+// Creates the necessary package and tables.
$stmtarray = array(
"DROP TABLE refcurtest",
"CREATE TABLE refcurtest (c1 NUMBER, c2 VARCHAR(20))",
@@ -86,7 +86,7 @@ function fetch_frm_php($c,$cur1,$value) {
echo "Fetch Row from PHP\n";
var_dump(oci_fetch_row($cur1));
}
-
+
// This function calls the fetch_ref_cur procedure to get the values from the REF cur.
function fetch_frm_plsql($c,$cur1) {
diff --git a/ext/oci8/tests/refcur_prefetch_2.phpt b/ext/oci8/tests/refcur_prefetch_2.phpt
index 9b2472db5d..586aece8f0 100644
--- a/ext/oci8/tests/refcur_prefetch_2.phpt
+++ b/ext/oci8/tests/refcur_prefetch_2.phpt
@@ -5,7 +5,7 @@ Prefetch with REF cursor. Test No 2
if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
-if (!(isset($matches[0]) &&
+if (!(isset($matches[0]) &&
($matches[1] >= 10))) {
die("skip expected output only valid when using Oracle 10g or greater database server");
}
@@ -21,7 +21,7 @@ if (!(isset($matches[0]) &&
<?php
require dirname(__FILE__)."/connect.inc";
-// Creates the necessary package and tables.
+// Creates the necessary package and tables.
$stmtarray = array(
"DROP TABLE refcurtest",
"CREATE TABLE refcurtest (c1 NUMBER, c2 VARCHAR(20))",
@@ -119,7 +119,7 @@ oci_execute($cur1);
var_dump(oci_fetch_row($cur1));
oci_set_prefetch($cur1,5);
-// Fetch from PL/SQL
+// Fetch from PL/SQL
if (!oci_bind_by_name($s2,":curs1",$cur1,-1,SQLT_RSET)) {
die("oci_bind_by_name(sql2) failed!\n");
}
diff --git a/ext/oci8/tests/refcur_prefetch_3.phpt b/ext/oci8/tests/refcur_prefetch_3.phpt
index f29345e515..8129fb2ec9 100644
--- a/ext/oci8/tests/refcur_prefetch_3.phpt
+++ b/ext/oci8/tests/refcur_prefetch_3.phpt
@@ -7,7 +7,7 @@ oci8.default_prefetch=5
if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
-if (!(isset($matches[0]) &&
+if (!(isset($matches[0]) &&
(($matches[1] == 11 && $matches[2] >= 2) ||
($matches[1] >= 12)
))) {
@@ -57,7 +57,7 @@ oci_execute($s);
$data = oci_fetch_array($s);
oci_execute($data['CURS1']);
-// Calculate round-trips
+// Calculate round-trips
$initial_rt = print_roundtrips($c);
for ($i = 0;$i<10;$i++) {
echo "Fetch Row using Nested cursor Query\n";
diff --git a/ext/oci8/tests/refcur_prefetch_4.phpt b/ext/oci8/tests/refcur_prefetch_4.phpt
index 131ae6ad6b..8ec4c983a3 100644
--- a/ext/oci8/tests/refcur_prefetch_4.phpt
+++ b/ext/oci8/tests/refcur_prefetch_4.phpt
@@ -5,7 +5,7 @@ Prefetch with REF cursor. Test No 4
if (!extension_loaded('oci8')) die("skip no oci8 extension");
require(dirname(__FILE__)."/connect.inc");
preg_match('/.*Release ([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)\.([[:digit:]]+)*/', oci_server_version($c), $matches);
-if (!(isset($matches[0]) &&
+if (!(isset($matches[0]) &&
($matches[1] >= 10))) {
die("skip expected output only valid when using Oracle 10g or greater database server");
}
@@ -21,7 +21,7 @@ if (!(isset($matches[0]) &&
<?php
require dirname(__FILE__)."/connect.inc";
-// Creates the necessary package and tables.
+// Creates the necessary package and tables.
$stmtarray = array(
"DROP TABLE refcurtest",
@@ -89,7 +89,7 @@ if (!oci_bind_by_name($s2, ":c2", $c2, 20, SQLT_CHR)) {
echo "------Test 1 - Set Prefetch after PL/SQL fetch ----------\n";
$cur1 = oci_new_cursor($c);
-// Fetch from PL/SQL
+// Fetch from PL/SQL
if (!oci_bind_by_name($s2,":curs1",$cur1,-1,SQLT_RSET)) {
die("oci_bind_by_name(sql2) failed!\n");
}
diff --git a/ext/oci8/tests/statement_cache.phpt b/ext/oci8/tests/statement_cache.phpt
index 4c48d3f1dd..d903b8de22 100644
--- a/ext/oci8/tests/statement_cache.phpt
+++ b/ext/oci8/tests/statement_cache.phpt
@@ -1,7 +1,7 @@
--TEST--
statement cache
--SKIPIF--
-<?php
+<?php
$target_dbs = array('oracledb' => true, 'timesten' => true); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
?>
diff --git a/ext/oci8/tests/xmltype_01.phpt b/ext/oci8/tests/xmltype_01.phpt
index 1855ed0887..8fb6206f26 100644
--- a/ext/oci8/tests/xmltype_01.phpt
+++ b/ext/oci8/tests/xmltype_01.phpt
@@ -1,7 +1,7 @@
--TEST--
Basic XMLType test
--SKIPIF--
-<?php
+<?php
if (!extension_loaded("simplexml")) die("skip no simplexml extension");
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
diff --git a/ext/oci8/tests/xmltype_02.phpt b/ext/oci8/tests/xmltype_02.phpt
index 9a17f5db18..a21e5e47ef 100644
--- a/ext/oci8/tests/xmltype_02.phpt
+++ b/ext/oci8/tests/xmltype_02.phpt
@@ -5,7 +5,7 @@ Basic XMLType test #2
$target_dbs = array('oracledb' => true, 'timesten' => false); // test runs on these DBs
require(dirname(__FILE__).'/skipif.inc');
if (!extension_loaded("simplexml")) die ("skip no simplexml extension");
-?>
+?>
--FILE--
<?php
@@ -48,8 +48,8 @@ $xml =<<<EOF
EOF;
echo "Test 1 Insert new XML data using a temporary CLOB\n";
-$s = oci_parse($c,
- "insert into xmltype_02_tab (warehouse_id, warehouse_spec)
+$s = oci_parse($c,
+ "insert into xmltype_02_tab (warehouse_id, warehouse_spec)
values (:id, XMLType(:clob))");
oci_bind_by_name($s, ':id', $id);
$lob = oci_new_descriptor($c, OCI_D_LOB);