echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
array(5) {
[0]=>
string(0) ""
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
array(5) {
[0]=>
int(5)
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
===DONE===
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
===DONE===
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
===DONE===
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
bool(true)
bool(false)
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
bool(true)
Test 2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
TEST86 insert all ORATYPE values
TEST87 SELECT all values using DEFINEs
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
array(1) {
[0]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 0 - base table creation without binds
array(5) {
["ID"]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
TEST241 bind SQLT_CHR
array(1) {
["VARCHAR2_T10"]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1 - PL/SQL IN and OUT variables
string(22) "Cat got your keyboard?"
string(22) "CAT GOT YOUR KEYBOARD?"
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
TEST141 wrong bind type SQLT_INT
array(1) {
["VARCHAR2_T10"]=>
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
int(1)
int(2)
int(3)
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
array(5) {
[0]=>
string(1) "A"
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
NULL
int(0)
Done
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
array(5) {
[0]=>
string(3) "one"
oci8_test_sql_execute($c, $stmtarray);
?>
---EXPECTF--
+--EXPECT--
Test 1
Done
oci8_test_sql_execute($c, $stmtarray);
?>
---EXPECTF--
+--EXPECT--
Test 2
Done
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
string(26) "This should be the output."
Test 2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
ORA-20000: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaBcccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccDeeeeeeeeeeee
Test 2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
ORA-57000: TT8507: ORA-20000: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Test 2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
array(1) {
["COL1"]=>
array(2) {
echo 'beg of stream4a is ', $start4a, PHP_EOL;
echo 'end of stream4a is ', $ending4a, PHP_EOL;
---EXPECTF--
+--EXPECT--
Test 1: j
size of string1 is 1000006 bytes, 1000006 chars.
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
array(1) {
["RAW_QUERY"]=>
string(3) "Foo"
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
array(5) {
[0]=>
int(-2)
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Done
$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
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
bool(true)
int(0)
array(5) {
clean_up($c);
echo "Done";
?>
---EXPECTF--
+--EXPECT--
**Test - Set and get values for the attributes with scope end ************
Testing with oci_connect()
Value of CLIENT_INFO has been set successfully
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1 - oci_connect
array(1) {
["C1"]=>
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1 - oci_pconnect
array(1) {
["C1"]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
array(1) {
["DUMMY"]=>
<?php exit(0); ?>
--XFAIL--
Fails due to Oracle Bug 16695981
---EXPECTF--
+--EXPECT--
Test 1
array(1) {
["DUMMY"]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
array(1) {
[0]=>
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1 - must do define before execute
bool(true)
NULL
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
string(4) "some"
Done
$dbase = "localhost/XE";
$test_drcp = FALSE;
}
-
+
/*
* Common object names for scripts to use
*/
-
+
$table_name = "tb".substr(str_replace(Array(".", "-"), "_", php_uname("n")), 0, 5);
$type_name = strtoupper("tp".substr(str_replace(Array(".", "-"), "_", php_uname("n")), 0, 5));
$schema = '';
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Setting a new connection class now
The New oci8.connection_class is New cc
Done
$create_sql = "CREATE TABLE DRCPTEST (id NUMBER, name VARCHAR2(10), dept VARCHAR2(10))";
$statement = oci_parse($conn, $create_sql);
oci_execute($statement);
-
+
$id_values = array(100,101,102,103,104,105,106,107,108);
$name_values = array("WIILIAMS","JOHN","SMITH","JONES","ADAMS","ROBERT",
"BILL","LAWSON","MARY");
$insert = "INSERT INTO DRCPTEST VALUES(".$id_values[$i].",'". $name_values[$i]."','".$dept_values[$i]."')";
$s = oci_parse($conn, $insert);
oci_execute($s);
- }
+ }
}
function drcp_drop_table($conn)
end;";
$s1 = oci_parse($c, $create_package_stmt);
oci_execute($s1);
-
+
$package_body = "create or replace package body drcp_test_package as
procedure p1(var1 int) is
begin
var :=var1;
- end;
+ end;
function f1 return number is
begin
return drcp_test_package.var;
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1 - OCI_ASSOC
array(3) {
["C1"]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
bool(false)
24960
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
string(1) "1"
string(1) "1"
string(1) "1"
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
int(3)
array(2) {
["ID"]=>
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
None
int(4)
array(2) {
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
int(0)
array(2) {
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
int(3)
array(2) {
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
int(2)
array(2) {
[0]=>
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
array(2) {
[0]=>
string(1) "1"
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
Test 2
array(1) {
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1 a 1 a 1 a 1 a 1 a
1 a 1 a 1 a 1 a 2 f
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1
2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1
bool(true)
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
X
1 abcde
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
array(2) {
[0]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1 - can't get IRS fields from parent
num fields : 0
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1 abcde
2 fghij
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1 abcde
2 fghij
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1 abcde
2 fghij
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
3
4
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
array(1) {
[1]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1
3
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1
2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1 abcde
2 fghij
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
array(3) {
[0]=>
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1
2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
bool(false)
===DONE===
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1 - No commit in procedure, OCI_COMMIT_ON_SUCCESS mode
111
array(1) {
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
1 aaaaa a
2 bbbbb b
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1 - prefetch 0
bool(true)
array(2) {
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1 - check initialization
oci8.privileged_connect = 1
oci8.max_persistent = 111
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
string(4) "data"
string(9) "long data"
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1. Check how many rows in the table
array(1) {
["NUMROWS"]=>
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Test 1: A CLOB with an even number of bytes
int(1050000)
Test 2: A CLOB with an odd number of bytes
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
1. 3
2. 6
3. 9
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1
f1 ended
Test 2
?>
===DONE===
<?php exit(0); ?>
---EXPECTF--
+--EXPECT--
Test 1 - truncate on insert
int(72)
bool(true)
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Temporary CLOB: NULL
Temporary CLOB: ''
Temporary CLOB: text
7 is an object: string(0) ""
8 is an object: string(0) ""
9 is an object: string(28) "Inserted with RETURNING INTO"
-Done
\ No newline at end of file
+Done
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
bool(true)
string(4) "test"
bool(true)
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
bool(true)
string(4) "test"
bool(true)
?>
===DONE===
---EXPECTF--
+--EXPECT--
bool(true)
array(1) {
["CLOB"]=>
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Done
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_connect to be able to connect as SYSOPER or SYSDBA in %s on line %d
Warning: oci_connect(): Privileged connect is disabled. Enable oci8.privileged_connect to be able to connect as SYSOPER or SYSDBA in %s on line %d
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
Warning: oci_connect(): ORA-%d: %s in %s on line %d
Warning: oci_connect(): ORA-%d: %s in %s on line %d
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
string(6) "SELECT"
string(6) "DELETE"
string(6) "INSERT"
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Done
echo "Done\n";
?>
---EXPECTF--
+--EXPECT--
Done