- Removed UEXPECT(F)

This commit is contained in:
Felipe Pena 2008-05-27 14:30:38 +00:00
parent b3ac16e584
commit f859bd1b4f
124 changed files with 1 additions and 4602 deletions

View File

@ -61,15 +61,6 @@ echo "Done\n";
--EXPECTF--
Warning: oci_bind_array_by_name(): OCI-21560: argument 3 is null, invalid, or out of range in %s on line %d
Warning: oci_execute(): ORA-01008: not all variables bound in %s on line %d
array(1) {
[0]=>
string(0) ""
}
Done
--UEXPECTF--
Warning: oci_bind_array_by_name(): OCI-21560: argument 3 is null, invalid, or out of range in %s on line %d
Warning: oci_execute(): ORA-01008: not all variables bound in %s on line %d
array(1) {
[0]=>

View File

@ -61,23 +61,6 @@ echo "Done\n";
--EXPECTF--
Warning: oci_bind_array_by_name(): Maximum array length must be greater than zero in %s on line %d
Warning: oci_execute(): ORA-01008: not all variables bound in %s on line %d
array(5) {
[0]=>
string(9) "06-DEC-05"
[1]=>
string(9) "10-DEC-80"
[2]=>
string(9) "21-AUG-91"
[3]=>
string(9) "26-OCT-17"
[4]=>
string(9) "05-NOV-05"
}
Done
--UEXPECTF--
Warning: oci_bind_array_by_name(): Maximum array length must be greater than zero in %s on line %d
Warning: oci_execute(): ORA-01008: not all variables bound in %s on line %d
array(5) {
[0]=>

View File

@ -60,19 +60,6 @@ echo "Done\n";
?>
--EXPECTF--
Warning: oci_execute(): OCI_NO_DATA in %s on line %d
array(4) {
[0]=>
string(9) "06-DEC-05"
[1]=>
string(9) "10-DEC-80"
[2]=>
string(9) "21-AUG-91"
[3]=>
string(9) "26-OCT-17"
}
Done
--UEXPECTF--
Warning: oci_execute(): OCI_NO_DATA in %s on line %d
array(4) {
[0]=>
unicode(9) "06-DEC-05"

View File

@ -59,20 +59,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
array(5) {
[0]=>
string(0) ""
[1]=>
string(0) ""
[2]=>
string(0) ""
[3]=>
string(0) ""
[4]=>
string(0) ""
}
Done
--UEXPECTF--
array(5) {
[0]=>
unicode(0) ""

View File

@ -59,20 +59,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(4) "five"
[1]=>
string(4) "four"
[2]=>
string(5) "three"
[3]=>
string(3) "two"
[4]=>
string(3) "one"
}
Done
--UEXPECT--
array(5) {
[0]=>
unicode(4) "five"

View File

@ -59,24 +59,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
Warning: oci_execute(): ORA-06550: line %d, column %d:
PLS-00418: array bind type must match PL/SQL table row type
ORA-06550: line %d, column %d:
PL/SQL: Statement ignored in %s on line %d
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
[4]=>
string(1) "5"
}
Done
--UEXPECTF--
Warning: oci_execute(): ORA-06550: line 1, column 28:
PLS-00418: array bind type must match PL/SQL table row type
ORA-06550: line 1, column 7:

View File

@ -21,21 +21,6 @@ echo "Done\n";
?>
--EXPECTF--
Warning: oci_bind_array_by_name(): ORA-01036: illegal variable name/number in %s on line %d
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
[4]=>
string(1) "5"
}
Done
--UEXPECTF--
Warning: oci_bind_array_by_name(): ORA-01036: illegal variable name/number in %s on line %d
array(5) {
[0]=>
unicode(1) "1"

View File

@ -59,20 +59,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(9) "05-NOV-05"
[1]=>
string(9) "26-OCT-17"
[2]=>
string(9) "21-AUG-91"
[3]=>
string(9) "10-DEC-80"
[4]=>
string(9) "06-DEC-05"
}
Done
--UEXPECT--
array(5) {
[0]=>
unicode(9) "05-NOV-05"

View File

@ -59,20 +59,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(9) "05-NOV-05"
[1]=>
string(9) "26-OCT-17"
[2]=>
string(9) "21-AUG-91"
[3]=>
string(9) "10-DEC-80"
[4]=>
string(9) "06-DEC-05"
}
Done
--UEXPECT--
array(5) {
[0]=>
unicode(9) "05-NOV-05"

View File

@ -59,20 +59,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(4) "five"
[1]=>
string(4) "four"
[2]=>
string(5) "three"
[3]=>
string(3) "two"
[4]=>
string(3) "one"
}
Done
--UEXPECT--
array(5) {
[0]=>
unicode(4) "five"

View File

@ -59,20 +59,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(4) "five"
[1]=>
string(4) "four"
[2]=>
string(5) "three"
[3]=>
string(3) "two"
[4]=>
string(3) "one"
}
Done
--UEXPECT--
array(5) {
[0]=>
unicode(4) "five"

View File

@ -202,91 +202,6 @@ echo "Done\n";
?>
--EXPECT--
*** Non-null Data Tests against CHAR***
Test 1.1: Type: default. Length: default
Querying:
Test 1.2: Type: AFC. Length: default
Querying:
:1:
:abc :
::
Test 1.3: Type: AFC: Length: 0
Querying:
Oci_execute error ORA-1460 Exiting Query
Test 1.4: Type: AFC: Length: strlen
Querying:
:1:
:abc :
::
Test 1.5: Type: AFC. Length: strlen-1
Querying:
Oci_execute error ORA-1460 Exiting Query
Test 1.6: Type: AFC. Length: strlen+1
Querying:
:1:
:abc :
::
*** NULL data tests against CHAR ***
Test 2.1: Type: default. Length: default
Querying:
Test 2.2: Type: AFC. Length: default
Querying:
Test 2.3: Type: AFC: Length: 0
Querying:
Test 2.4: Type: AFC: Length: strlen
Querying:
Test 2.5: Type: AFC. Length: strlen-1
Querying:
Test 2.6: Type: AFC. Length: strlen+1
Querying:
*** Non-null Data Tests against VARCHAR2***
Test 3.1: Type: default. Length: default
Querying:
:2:
::
:abc:
Test 3.2: Type: AFC. Length: default
Querying:
:2:
::
:abc:
Test 3.3: Type: AFC: Length: 0
Querying:
Oci_execute error ORA-1460 Exiting Query
Test 3.4: Type: AFC: Length: strlen
Querying:
:2:
::
:abc:
Test 3.5: Type: AFC. Length: strlen-1
Querying:
Oci_execute error ORA-1460 Exiting Query
Test 3.6: Type: AFC. Length: strlen+1
Querying:
:2:
::
:abc:
*** NULL data tests against VARCHAR2 ***
Test 4.1: Type: default. Length: default
Querying:
Test 4.2: Type: AFC. Length: default
Querying:
Test 4.3: Type: AFC: Length: 0
Querying:
Test 4.4: Type: AFC: Length: strlen
Querying:
Test 4.5: Type: AFC. Length: strlen-1
Querying:
Test 4.6: Type: AFC. Length: strlen+1
Querying:
Done
--UEXPECT--
*** Non-null Data Tests against CHAR***
Test 1.1: Type: default. Length: default
Querying:
Test 1.2: Type: AFC. Length: default

View File

@ -90,30 +90,6 @@ echo "Done\n";
?>
--EXPECT--
Test 1.1: Type: default. Length: default
Querying:
:1:
:2008-04-20:
Test 1.2: Type: AFC. Length: default
Querying:
:1:
:2008-04-20:
Test 1.3: Type: AFC: Length: 0
Querying:
Oci_execute error ORA-1460 Exiting Query
Test 1.4: Type: AFC: Length: strlen
Querying:
:1:
:2008-04-20:
Test 1.5: Type: AFC. Length: strlen-1
Querying:
Oci_execute error ORA-1460 Exiting Query
Test 1.6: Type: AFC. Length: strlen+1
Querying:
:1:
:2008-04-20:
Done
--UEXPECT--
Test 1.1: Type: default. Length: default
Querying:
:1:

View File

@ -244,97 +244,6 @@ echo "Done\n";
?>
--EXPECTF--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502
string(3) "abc"
NULL
Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
Executing:
string(3) "abc"
string(3) "abc"
Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
Executing:
string(3) "abc"
string(3) "abc"
Test 1.4 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
string(3) "abc"
string(10) "abc "
Test 1.5 In Length: strlen. In Type: AFC. Out Length: strlen(input). Out Type: AFC
Executing:
string(3) "abc"
string(3) "abc"
Test 1.6 In Length: strlen. In Type: AFC. Out Length: strlen(input)-1. Out Type: AFC
Executing:
Oci_execute error ORA-6502
string(3) "abc"
string(3) "abc"
Test 1.7 In Length: strlen. In Type: AFC. Out Length: strlen(input)+1. Out Type: AFC
Executing:
string(3) "abc"
string(4) "abc "
Tests with ''
Test 2.1 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
Executing:
string(0) ""
NULL
Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
Executing:
string(0) ""
NULL
Test 2.4 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.5 In Length: -1. In Type: AFC. Out Length: 0. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.6 In Length: 0. In Type: AFC. Out Length: 0. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.7 In Length: 1. In Type: AFC. Out Length: 1. Out Type: AFC
Executing:
string(0) ""
NULL
Tests with NULL
Test 3.1 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
NULL
NULL
Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
Executing:
NULL
NULL
Test 3.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
Executing:
NULL
NULL
Test 3.4 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
NULL
NULL
Test 3.5 In Length: -1. In Type: AFC. Out Length: 0. Out Type: AFC
Executing:
NULL
NULL
Test 3.6 In Length: -1. In Type: AFC. Out Length: 1. Out Type: AFC
Executing:
NULL
NULL
Done
--UEXPECT--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502

View File

@ -246,97 +246,6 @@ echo "Done\n";
?>
--EXPECTF--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502
string(3) "abc"
NULL
Test 1.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
Executing:
string(3) "abc"
string(3) "abc"
Test 1.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
Executing:
string(3) "abc"
string(3) "abc"
Test 1.4 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
string(3) "abc"
string(10) "abc "
Test 1.5 In Length: strlen. In Type: AFC. Out Length: strlen(input). Out Type: AFC
Executing:
string(3) "abc"
string(3) "abc"
Test 1.6 In Length: strlen. In Type: AFC. Out Length: strlen(input)-1. Out Type: AFC
Executing:
Oci_execute error ORA-6502
string(3) "abc"
string(3) "abc"
Test 1.7 In Length: strlen. In Type: AFC. Out Length: strlen(input)+1. Out Type: AFC
Executing:
string(3) "abc"
string(4) "abc "
Tests with ''
Test 2.1 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
Executing:
string(0) ""
NULL
Test 2.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
Executing:
string(0) ""
NULL
Test 2.4 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.5 In Length: -1. In Type: AFC. Out Length: 0. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.6 In Length: 0. In Type: AFC. Out Length: 0. Out Type: AFC
Executing:
string(0) ""
NULL
Test 2.7 In Length: 1. In Type: AFC. Out Length: 1. Out Type: AFC
Executing:
string(0) ""
NULL
Tests with NULL
Test 3.1 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
NULL
NULL
Test 3.2 In Length: default. In Type: default. Out Length: 10. Out Type: default
Executing:
NULL
NULL
Test 3.3 In Length: -1. In Type: AFC. Out Length: 10. Out Type: default
Executing:
NULL
NULL
Test 3.4 In Length: -1. In Type: AFC. Out Length: 10. Out Type: AFC
Executing:
NULL
NULL
Test 3.5 In Length: -1. In Type: AFC. Out Length: 0. Out Type: AFC
Executing:
NULL
NULL
Test 3.6 In Length: -1. In Type: AFC. Out Length: 1. Out Type: AFC
Executing:
NULL
NULL
Done
--UEXPECT--
Test 1.1 In Length: default. In Type: default. Out Length: default. Out Type: default
Executing:
Oci_execute error ORA-6502

View File

@ -81,34 +81,6 @@ Test 2
bool(true)
Test 3
bool(true)
array(1) {
["NAME"]=>
array(2) {
[0]=>
string(3) "def"
[1]=>
NULL
}
}
Test 4
bool(true)
array(1) {
["NAME"]=>
array(2) {
[0]=>
NULL
[1]=>
NULL
}
}
Done
--UEXPECTF--
Test 1
bool(true)
Test 2
bool(true)
Test 3
bool(true)
array(1) {
[u"NAME"]=>
array(2) {

View File

@ -33,10 +33,6 @@ echo "Done\n";
?>
--EXPECT--
string(32) "da852396d08c9ef9fbdf914db1d6d5bb"
int(276)
Done
--UEXPECTF--
unicode(32) "da852396d08c9ef9fbdf914db1d6d5bb"
int(276)
Done

View File

@ -33,10 +33,6 @@ echo "Done\n";
?>
--EXPECT--
string(32) "614fcbba1effb7caa27ef0ef25c27fcf"
int(2523)
Done
--UEXPECTF--
unicode(32) "614fcbba1effb7caa27ef0ef25c27fcf"
int(2523)
Done

View File

@ -34,10 +34,6 @@ echo "Done\n";
?>
--EXPECT--
string(32) "88b274d7a257ac6f70435b83abd4e26e"
int(300)
Done
--UEXPECTF--
unicode(32) "88b274d7a257ac6f70435b83abd4e26e"
int(300)
Done

View File

@ -50,207 +50,6 @@ foreach ($create_st as $statement) {
echo "Done\n";
?>
--EXPECTF--
string(1) "1"
string(1) "2"
string(1) "3"
string(1) "4"
string(1) "5"
string(1) "6"
string(1) "7"
string(1) "8"
string(1) "9"
string(2) "10"
string(2) "11"
string(2) "12"
string(2) "13"
string(2) "14"
string(2) "15"
string(2) "16"
string(2) "17"
string(2) "18"
string(2) "19"
string(2) "20"
string(2) "21"
string(2) "22"
string(2) "23"
string(2) "24"
string(2) "25"
string(2) "26"
string(2) "27"
string(2) "28"
string(2) "29"
string(2) "30"
string(2) "31"
string(2) "32"
string(2) "33"
string(2) "34"
string(2) "35"
string(2) "36"
string(2) "37"
string(2) "38"
string(2) "39"
string(2) "40"
string(2) "41"
string(2) "42"
string(2) "43"
string(2) "44"
string(2) "45"
string(2) "46"
string(2) "47"
string(2) "48"
string(2) "49"
string(2) "50"
string(2) "51"
string(2) "52"
string(2) "53"
string(2) "54"
string(2) "55"
string(2) "56"
string(2) "57"
string(2) "58"
string(2) "59"
string(2) "60"
string(2) "61"
string(2) "62"
string(2) "63"
string(2) "64"
string(2) "65"
string(2) "66"
string(2) "67"
string(2) "68"
string(2) "69"
string(2) "70"
string(2) "71"
string(2) "72"
string(2) "73"
string(2) "74"
string(2) "75"
string(2) "76"
string(2) "77"
string(2) "78"
string(2) "79"
string(2) "80"
string(2) "81"
string(2) "82"
string(2) "83"
string(2) "84"
string(2) "85"
string(2) "86"
string(2) "87"
string(2) "88"
string(2) "89"
string(2) "90"
string(2) "91"
string(2) "92"
string(2) "93"
string(2) "94"
string(2) "95"
string(2) "96"
string(2) "97"
string(2) "98"
string(2) "99"
string(3) "100"
string(3) "101"
string(3) "102"
string(3) "103"
string(3) "104"
string(3) "105"
string(3) "106"
string(3) "107"
string(3) "108"
string(3) "109"
string(3) "110"
string(3) "111"
string(3) "112"
string(3) "113"
string(3) "114"
string(3) "115"
string(3) "116"
string(3) "117"
string(3) "118"
string(3) "119"
string(3) "120"
string(3) "121"
string(3) "122"
string(3) "123"
string(3) "124"
string(3) "125"
string(3) "126"
string(3) "127"
string(3) "128"
string(3) "129"
string(3) "130"
string(3) "131"
string(3) "132"
string(3) "133"
string(3) "134"
string(3) "135"
string(3) "136"
string(3) "137"
string(3) "138"
string(3) "139"
string(3) "140"
string(3) "141"
string(3) "142"
string(3) "143"
string(3) "144"
string(3) "145"
string(3) "146"
string(3) "147"
string(3) "148"
string(3) "149"
string(3) "150"
string(3) "151"
string(3) "152"
string(3) "153"
string(3) "154"
string(3) "155"
string(3) "156"
string(3) "157"
string(3) "158"
string(3) "159"
string(3) "160"
string(3) "161"
string(3) "162"
string(3) "163"
string(3) "164"
string(3) "165"
string(3) "166"
string(3) "167"
string(3) "168"
string(3) "169"
string(3) "170"
string(3) "171"
string(3) "172"
string(3) "173"
string(3) "174"
string(3) "175"
string(3) "176"
string(3) "177"
string(3) "178"
string(3) "179"
string(3) "180"
string(3) "181"
string(3) "182"
string(3) "183"
string(3) "184"
string(3) "185"
string(3) "186"
string(3) "187"
string(3) "188"
string(3) "189"
string(3) "190"
string(3) "191"
string(3) "192"
string(3) "193"
string(3) "194"
string(3) "195"
string(3) "196"
string(3) "197"
string(3) "198"
string(3) "199"
Done
--UEXPECTF--
unicode(1) "1"
unicode(1) "2"
unicode(1) "3"

View File

@ -50,207 +50,6 @@ foreach ($create_st as $statement) {
echo "Done\n";
?>
--EXPECTF--
string(1) "1"
string(1) "2"
string(1) "3"
string(1) "4"
string(1) "5"
string(1) "6"
string(1) "7"
string(1) "8"
string(1) "9"
string(2) "10"
string(2) "11"
string(2) "12"
string(2) "13"
string(2) "14"
string(2) "15"
string(2) "16"
string(2) "17"
string(2) "18"
string(2) "19"
string(2) "20"
string(2) "21"
string(2) "22"
string(2) "23"
string(2) "24"
string(2) "25"
string(2) "26"
string(2) "27"
string(2) "28"
string(2) "29"
string(2) "30"
string(2) "31"
string(2) "32"
string(2) "33"
string(2) "34"
string(2) "35"
string(2) "36"
string(2) "37"
string(2) "38"
string(2) "39"
string(2) "40"
string(2) "41"
string(2) "42"
string(2) "43"
string(2) "44"
string(2) "45"
string(2) "46"
string(2) "47"
string(2) "48"
string(2) "49"
string(2) "50"
string(2) "51"
string(2) "52"
string(2) "53"
string(2) "54"
string(2) "55"
string(2) "56"
string(2) "57"
string(2) "58"
string(2) "59"
string(2) "60"
string(2) "61"
string(2) "62"
string(2) "63"
string(2) "64"
string(2) "65"
string(2) "66"
string(2) "67"
string(2) "68"
string(2) "69"
string(2) "70"
string(2) "71"
string(2) "72"
string(2) "73"
string(2) "74"
string(2) "75"
string(2) "76"
string(2) "77"
string(2) "78"
string(2) "79"
string(2) "80"
string(2) "81"
string(2) "82"
string(2) "83"
string(2) "84"
string(2) "85"
string(2) "86"
string(2) "87"
string(2) "88"
string(2) "89"
string(2) "90"
string(2) "91"
string(2) "92"
string(2) "93"
string(2) "94"
string(2) "95"
string(2) "96"
string(2) "97"
string(2) "98"
string(2) "99"
string(3) "100"
string(3) "101"
string(3) "102"
string(3) "103"
string(3) "104"
string(3) "105"
string(3) "106"
string(3) "107"
string(3) "108"
string(3) "109"
string(3) "110"
string(3) "111"
string(3) "112"
string(3) "113"
string(3) "114"
string(3) "115"
string(3) "116"
string(3) "117"
string(3) "118"
string(3) "119"
string(3) "120"
string(3) "121"
string(3) "122"
string(3) "123"
string(3) "124"
string(3) "125"
string(3) "126"
string(3) "127"
string(3) "128"
string(3) "129"
string(3) "130"
string(3) "131"
string(3) "132"
string(3) "133"
string(3) "134"
string(3) "135"
string(3) "136"
string(3) "137"
string(3) "138"
string(3) "139"
string(3) "140"
string(3) "141"
string(3) "142"
string(3) "143"
string(3) "144"
string(3) "145"
string(3) "146"
string(3) "147"
string(3) "148"
string(3) "149"
string(3) "150"
string(3) "151"
string(3) "152"
string(3) "153"
string(3) "154"
string(3) "155"
string(3) "156"
string(3) "157"
string(3) "158"
string(3) "159"
string(3) "160"
string(3) "161"
string(3) "162"
string(3) "163"
string(3) "164"
string(3) "165"
string(3) "166"
string(3) "167"
string(3) "168"
string(3) "169"
string(3) "170"
string(3) "171"
string(3) "172"
string(3) "173"
string(3) "174"
string(3) "175"
string(3) "176"
string(3) "177"
string(3) "178"
string(3) "179"
string(3) "180"
string(3) "181"
string(3) "182"
string(3) "183"
string(3) "184"
string(3) "185"
string(3) "186"
string(3) "187"
string(3) "188"
string(3) "189"
string(3) "190"
string(3) "191"
string(3) "192"
string(3) "193"
string(3) "194"
string(3) "195"
string(3) "196"
string(3) "197"
string(3) "198"
string(3) "199"
Done
--UEXPECTF--
unicode(1) "1"
unicode(1) "2"
unicode(1) "3"

View File

@ -50,207 +50,6 @@ foreach ($create_st as $statement) {
echo "Done\n";
?>
--EXPECTF--
string(1) "1"
string(1) "2"
string(1) "3"
string(1) "4"
string(1) "5"
string(1) "6"
string(1) "7"
string(1) "8"
string(1) "9"
string(2) "10"
string(2) "11"
string(2) "12"
string(2) "13"
string(2) "14"
string(2) "15"
string(2) "16"
string(2) "17"
string(2) "18"
string(2) "19"
string(2) "20"
string(2) "21"
string(2) "22"
string(2) "23"
string(2) "24"
string(2) "25"
string(2) "26"
string(2) "27"
string(2) "28"
string(2) "29"
string(2) "30"
string(2) "31"
string(2) "32"
string(2) "33"
string(2) "34"
string(2) "35"
string(2) "36"
string(2) "37"
string(2) "38"
string(2) "39"
string(2) "40"
string(2) "41"
string(2) "42"
string(2) "43"
string(2) "44"
string(2) "45"
string(2) "46"
string(2) "47"
string(2) "48"
string(2) "49"
string(2) "50"
string(2) "51"
string(2) "52"
string(2) "53"
string(2) "54"
string(2) "55"
string(2) "56"
string(2) "57"
string(2) "58"
string(2) "59"
string(2) "60"
string(2) "61"
string(2) "62"
string(2) "63"
string(2) "64"
string(2) "65"
string(2) "66"
string(2) "67"
string(2) "68"
string(2) "69"
string(2) "70"
string(2) "71"
string(2) "72"
string(2) "73"
string(2) "74"
string(2) "75"
string(2) "76"
string(2) "77"
string(2) "78"
string(2) "79"
string(2) "80"
string(2) "81"
string(2) "82"
string(2) "83"
string(2) "84"
string(2) "85"
string(2) "86"
string(2) "87"
string(2) "88"
string(2) "89"
string(2) "90"
string(2) "91"
string(2) "92"
string(2) "93"
string(2) "94"
string(2) "95"
string(2) "96"
string(2) "97"
string(2) "98"
string(2) "99"
string(3) "100"
string(3) "101"
string(3) "102"
string(3) "103"
string(3) "104"
string(3) "105"
string(3) "106"
string(3) "107"
string(3) "108"
string(3) "109"
string(3) "110"
string(3) "111"
string(3) "112"
string(3) "113"
string(3) "114"
string(3) "115"
string(3) "116"
string(3) "117"
string(3) "118"
string(3) "119"
string(3) "120"
string(3) "121"
string(3) "122"
string(3) "123"
string(3) "124"
string(3) "125"
string(3) "126"
string(3) "127"
string(3) "128"
string(3) "129"
string(3) "130"
string(3) "131"
string(3) "132"
string(3) "133"
string(3) "134"
string(3) "135"
string(3) "136"
string(3) "137"
string(3) "138"
string(3) "139"
string(3) "140"
string(3) "141"
string(3) "142"
string(3) "143"
string(3) "144"
string(3) "145"
string(3) "146"
string(3) "147"
string(3) "148"
string(3) "149"
string(3) "150"
string(3) "151"
string(3) "152"
string(3) "153"
string(3) "154"
string(3) "155"
string(3) "156"
string(3) "157"
string(3) "158"
string(3) "159"
string(3) "160"
string(3) "161"
string(3) "162"
string(3) "163"
string(3) "164"
string(3) "165"
string(3) "166"
string(3) "167"
string(3) "168"
string(3) "169"
string(3) "170"
string(3) "171"
string(3) "172"
string(3) "173"
string(3) "174"
string(3) "175"
string(3) "176"
string(3) "177"
string(3) "178"
string(3) "179"
string(3) "180"
string(3) "181"
string(3) "182"
string(3) "183"
string(3) "184"
string(3) "185"
string(3) "186"
string(3) "187"
string(3) "188"
string(3) "189"
string(3) "190"
string(3) "191"
string(3) "192"
string(3) "193"
string(3) "194"
string(3) "195"
string(3) "196"
string(3) "197"
string(3) "198"
string(3) "199"
Done
--UEXPECTF--
unicode(1) "1"
unicode(1) "2"
unicode(1) "3"

View File

@ -31,17 +31,6 @@ $s1 = oci_parse($c, "drop table test_nclob");
echo "Done\n";
?>
--EXPECTF--
array(1) {
["NC"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
string(%d) "%s5"
string(%d) "%sa"
Done
--UEXPECTF--
array(1) {
[u"NC"]=>
object(OCI-Lob)#%d (1) {

View File

@ -23,12 +23,6 @@ echo "Done\n";
--EXPECT--
bool(false)
bool(false)
string(5) "'ABC'"
string(4) "CHAR"
Done
--UEXPECT--
bool(false)
bool(false)
unicode(5) "'ABC'"
unicode(4) "CHAR"
Done

View File

@ -42,32 +42,6 @@ var_dump($strings);
echo "Done\n";
?>
--EXPECTF--
array(5) {
[0]=>
string(1) "A"
[1]=>
string(1) "B"
[2]=>
string(1) "C"
[3]=>
string(1) "D"
[4]=>
string(1) "E"
}
array(5) {
[0]=>
string(1) "A"
[1]=>
string(1) "B"
[2]=>
string(1) "C"
[3]=>
string(1) "D"
[4]=>
string(1) "E"
}
Done
--UEXPECTF--
array(5) {
[0]=>
unicode(1) "A"

View File

@ -40,20 +40,6 @@ var_dump($array);
echo "Done\n";
?>
--EXPECTF--
array(5) {
[0]=>
string(3) "one"
[1]=>
string(3) "two"
[2]=>
string(0) ""
[3]=>
string(4) "four"
[4]=>
string(4) "five"
}
Done
--UEXPECTF--
array(5) {
[0]=>
unicode(3) "one"

View File

@ -95,113 +95,6 @@ echo "Done\n";
Test 1: Associate fetch of nested cursor
Got row "11". Now getting nested cursor:
bool(true)
array(1) {
["ID2"]=>
string(2) "21"
}
array(1) {
["ID2"]=>
string(2) "22"
}
array(1) {
["ID2"]=>
string(2) "23"
}
Got row "12". Now getting nested cursor:
bool(true)
array(1) {
["ID2"]=>
string(2) "21"
}
array(1) {
["ID2"]=>
string(2) "22"
}
array(1) {
["ID2"]=>
string(2) "23"
}
Got row "13". Now getting nested cursor:
bool(true)
array(1) {
["ID2"]=>
string(2) "21"
}
array(1) {
["ID2"]=>
string(2) "22"
}
array(1) {
["ID2"]=>
string(2) "23"
}
Test 2: fetchall of nested cursor
Rows returned 3
array(2) {
["ID1"]=>
array(3) {
[0]=>
string(2) "11"
[1]=>
string(2) "12"
[2]=>
string(2) "13"
}
["CURSOR"]=>
array(3) {
[0]=>
resource(%d) of type (oci8 statement)
[1]=>
resource(%d) of type (oci8 statement)
[2]=>
resource(%d) of type (oci8 statement)
}
}
Getting nested cursor
bool(true)
array(1) {
["ID2"]=>
array(3) {
[0]=>
string(2) "21"
[1]=>
string(2) "22"
[2]=>
string(2) "23"
}
}
Getting nested cursor
bool(true)
array(1) {
["ID2"]=>
array(3) {
[0]=>
string(2) "21"
[1]=>
string(2) "22"
[2]=>
string(2) "23"
}
}
Getting nested cursor
bool(true)
array(1) {
["ID2"]=>
array(3) {
[0]=>
string(2) "21"
[1]=>
string(2) "22"
[2]=>
string(2) "23"
}
}
Done
--UEXPECTF--
Test 1: Associate fetch of nested cursor
Got row "11". Now getting nested cursor:
bool(true)
array(1) {
[u"ID2"]=>
unicode(2) "21"

View File

@ -93,188 +93,6 @@ echo "Done\n";
?>
--EXPECT--
Test 1: non-DB link case that always worked
array(3) {
[0]=>
array(13) {
["C1"]=>
string(3) "111"
["C2"]=>
string(7) "aaaaaaa"
["C3"]=>
NULL
["C4"]=>
NULL
["C5"]=>
string(1) "b"
["C6"]=>
string(1) "c"
["C7"]=>
NULL
["C8"]=>
NULL
["C9"]=>
string(10) "01/17/2008"
["C10"]=>
string(10) "01/07/2017"
["C12"]=>
string(4) "2222"
["C13"]=>
NULL
["C15"]=>
string(10) "zzzzzzzzzz"
}
[1]=>
array(13) {
["C1"]=>
string(3) "112"
["C2"]=>
string(7) "aaaaaaa"
["C3"]=>
string(8) "bbbbbbbb"
["C4"]=>
string(7) "ccccccc"
["C5"]=>
string(1) "d"
["C6"]=>
string(1) "e"
["C7"]=>
string(7) "rrrrrrr"
["C8"]=>
NULL
["C9"]=>
string(10) "04/16/2007"
["C10"]=>
string(10) "04/16/2007"
["C12"]=>
string(4) "2223"
["C13"]=>
string(8) "xxxxxxxx"
["C15"]=>
string(8) "zzzzzzzz"
}
[2]=>
array(13) {
["C1"]=>
string(3) "113"
["C2"]=>
string(7) "aaaaaaa"
["C3"]=>
string(10) "bbbbbbbbbb"
["C4"]=>
string(6) "cccccc"
["C5"]=>
string(1) "e"
["C6"]=>
string(1) "f"
["C7"]=>
string(4) "dddd"
["C8"]=>
NULL
["C9"]=>
string(10) "12/04/2006"
["C10"]=>
string(10) "12/04/2006"
["C12"]=>
string(4) "2224"
["C13"]=>
NULL
["C15"]=>
string(7) "zzzzzzz"
}
}
Test 2: Should not crash
array(3) {
[0]=>
array(13) {
["C1"]=>
string(3) "111"
["C2"]=>
string(7) "aaaaaaa"
["C3"]=>
NULL
["C4"]=>
NULL
["C5"]=>
string(1) "b"
["C6"]=>
string(1) "c"
["C7"]=>
NULL
["C8"]=>
NULL
["C9"]=>
string(10) "01/17/2008"
["C10"]=>
string(10) "01/07/2017"
["C12"]=>
string(4) "2222"
["C13"]=>
NULL
["C15"]=>
string(10) "zzzzzzzzzz"
}
[1]=>
array(13) {
["C1"]=>
string(3) "112"
["C2"]=>
string(7) "aaaaaaa"
["C3"]=>
string(8) "bbbbbbbb"
["C4"]=>
string(7) "ccccccc"
["C5"]=>
string(1) "d"
["C6"]=>
string(1) "e"
["C7"]=>
string(7) "rrrrrrr"
["C8"]=>
NULL
["C9"]=>
string(10) "04/16/2007"
["C10"]=>
string(10) "04/16/2007"
["C12"]=>
string(4) "2223"
["C13"]=>
string(8) "xxxxxxxx"
["C15"]=>
string(8) "zzzzzzzz"
}
[2]=>
array(13) {
["C1"]=>
string(3) "113"
["C2"]=>
string(7) "aaaaaaa"
["C3"]=>
string(10) "bbbbbbbbbb"
["C4"]=>
string(6) "cccccc"
["C5"]=>
string(1) "e"
["C6"]=>
string(1) "f"
["C7"]=>
string(4) "dddd"
["C8"]=>
NULL
["C9"]=>
string(10) "12/04/2006"
["C10"]=>
string(10) "12/04/2006"
["C12"]=>
string(4) "2224"
["C13"]=>
NULL
["C15"]=>
string(7) "zzzzzzz"
}
}
Done
--UEXPECT--
Test 1: non-DB link case that always worked
array(3) {
[0]=>
array(13) {

View File

@ -61,46 +61,6 @@ echo "Done\n";
--EXPECTF--
Warning: oci_new_collection(): OCI-22303: type ""."ABC" not found in %s on line %d
Normal connection: New Collection error
array(4) {
["code"]=>
int(22303)
["message"]=>
string(34) "OCI-22303: type ""."ABC" not found"
["offset"]=>
int(0)
["sqltext"]=>
string(0) ""
}
Warning: oci_new_collection(): OCI-22303: type ""."DEF" not found in %s on line %d
New connection: New Collection error
array(4) {
["code"]=>
int(22303)
["message"]=>
string(34) "OCI-22303: type ""."DEF" not found"
["offset"]=>
int(0)
["sqltext"]=>
string(0) ""
}
Warning: oci_new_collection(): OCI-22303: type ""."GHI" not found in %s on line %d
Persistent connection: New Collection error
array(4) {
["code"]=>
int(22303)
["message"]=>
string(34) "OCI-22303: type ""."GHI" not found"
["offset"]=>
int(0)
["sqltext"]=>
string(0) ""
}
Done
--UEXPECTF--
Warning: oci_new_collection(): OCI-22303: type ""."ABC" not found in %s on line %d
Normal connection: New Collection error
array(4) {
[u"code"]=>
int(22303)

View File

@ -64,109 +64,6 @@ echo "Done\n";
?>
--EXPECTF--
array(9) {
["C1"]=>
string(28) "03-JAN-99 10.00.00.123000 AM"
["C2"]=>
string(27) "04-JAN-99 10.00.00.12346 AM"
["C3"]=>
string(35) "05-JAN-99 10.00.00.123456 AM +01:00"
["C4"]=>
string(31) "06-JAN-99 10.00.00.12 AM -01:00"
["C5"]=>
string(28) "%s"
["C6"]=>
string(6) "+01-02"
["C7"]=>
string(6) "+10-04"
["C8"]=>
string(19) "+01 02:20:20.123000"
["C9"]=>
string(16) "+01 02:20:20.123"
}
Column C1
bool(false)
string(2) "C1"
string(9) "TIMESTAMP"
int(187)
int(6)
int(0)
int(11)
Column C2
bool(false)
string(2) "C2"
string(9) "TIMESTAMP"
int(187)
int(5)
int(0)
int(11)
Column C3
bool(false)
string(2) "C3"
string(23) "TIMESTAMP WITH TIMEZONE"
int(188)
int(6)
int(0)
int(13)
Column C4
bool(false)
string(2) "C4"
string(23) "TIMESTAMP WITH TIMEZONE"
int(188)
int(2)
int(0)
int(13)
Column C5
bool(false)
string(2) "C5"
string(29) "TIMESTAMP WITH LOCAL TIMEZONE"
int(232)
int(6)
int(0)
int(11)
Column C6
bool(false)
string(2) "C6"
string(22) "INTERVAL YEAR TO MONTH"
int(189)
int(0)
int(2)
int(5)
Column C7
bool(false)
string(2) "C7"
string(22) "INTERVAL YEAR TO MONTH"
int(189)
int(0)
int(2)
int(5)
Column C8
bool(false)
string(2) "C8"
string(22) "INTERVAL DAY TO SECOND"
int(190)
int(6)
int(2)
int(11)
Column C9
bool(false)
string(2) "C9"
string(22) "INTERVAL DAY TO SECOND"
int(190)
int(3)
int(2)
int(11)
Done
--UEXPECTF--
array(9) {
[u"C1"]=>
unicode(28) "03-JAN-99 10.00.00.123000 AM"

View File

@ -134,60 +134,6 @@ echo "Done\n";
--EXPECT--
Test bug 42841: Procedure with OUT cursor parameter
First attempt
array(3) {
[0]=>
array(1) {
[11]=>
string(2) "11"
}
[1]=>
array(1) {
[11]=>
string(2) "12"
}
[2]=>
array(1) {
[11]=>
string(2) "13"
}
}
Second attempt
array(3) {
[0]=>
array(1) {
[11]=>
string(2) "11"
}
[1]=>
array(1) {
[11]=>
string(2) "12"
}
[2]=>
array(1) {
[11]=>
string(2) "13"
}
}
Test bug 43449: Cursor as function result
array(1) {
[0]=>
array(1) {
["DUMMY"]=>
string(1) "X"
}
}
array(1) {
[0]=>
array(1) {
["DUMMY"]=>
string(1) "X"
}
}
Done
--UEXPECT--
Test bug 42841: Procedure with OUT cursor parameter
First attempt
array(3) {
[0]=>
array(1) {

View File

@ -17,15 +17,6 @@ require dirname(__FILE__)."/drop_type.inc";
?>
--EXPECTF--
object(OCI-Collection)#%d (1) {
["collection"]=>
resource(%d) of type (oci8 collection)
}
Warning: oci_new_collection(): OCI-22303: type ""."NONEXISTENT" not found in %s on line %d
bool(false)
Done
--UEXPECTF--
object(OCI-Collection)#%d (1) {
[u"collection"]=>
resource(%d) of type (oci8 collection)

View File

@ -19,16 +19,6 @@ require dirname(__FILE__)."/drop_type.inc";
?>
--EXPECTF--
object(OCI-Collection)#%d (1) {
["collection"]=>
resource(%d) of type (oci8 collection)
}
bool(true)
Warning: OCI-Collection::size(): %d is not a valid oci8 collection resource in %s on line %d
bool(false)
Done
--UEXPECTF--
object(OCI-Collection)#%d (1) {
[u"collection"]=>
resource(%d) of type (oci8 collection)

View File

@ -19,16 +19,6 @@ require dirname(__FILE__)."/drop_type.inc";
?>
--EXPECTF--
object(OCI-Collection)#%d (1) {
["collection"]=>
resource(%d) of type (oci8 collection)
}
bool(true)
Warning: oci_collection_size(): %d is not a valid oci8 collection resource in %s on line %d
bool(false)
Done
--UEXPECTF--
object(OCI-Collection)#%d (1) {
[u"collection"]=>
resource(%d) of type (oci8 collection)

View File

@ -17,15 +17,6 @@ require dirname(__FILE__)."/drop_type.inc";
?>
--EXPECTF--
object(OCI-Collection)#%d (1) {
["collection"]=>
resource(%d) of type (oci8 collection)
}
Warning: ocinewcollection(): OCI-22303: type ""."NONEXISTENT" not found in %s on line %d
bool(false)
Done
--UEXPECTF--
object(OCI-Collection)#%d (1) {
[u"collection"]=>
resource(%d) of type (oci8 collection)

View File

@ -19,16 +19,6 @@ require dirname(__FILE__)."/drop_type.inc";
?>
--EXPECTF--
object(OCI-Collection)#%d (1) {
["collection"]=>
resource(%d) of type (oci8 collection)
}
bool(true)
Warning: OCI-Collection::size(): %d is not a valid oci8 collection resource in %s on line %d
bool(false)
Done
--UEXPECTF--
object(OCI-Collection)#%d (1) {
[u"collection"]=>
resource(%d) of type (oci8 collection)

View File

@ -19,16 +19,6 @@ require dirname(__FILE__)."/drop_type.inc";
?>
--EXPECTF--
object(OCI-Collection)#%d (1) {
["collection"]=>
resource(%d) of type (oci8 collection)
}
bool(true)
Warning: oci_collection_size(): %d is not a valid oci8 collection resource in %s on line %d
bool(false)
Done
--UEXPECTF--
object(OCI-Collection)#%d (1) {
[u"collection"]=>
resource(%d) of type (oci8 collection)

View File

@ -39,11 +39,5 @@ require dirname(__FILE__)."/drop_type.inc";
bool(true)
bool(true)
bool(true)
string(6) "string"
Done
--UEXPECT--
bool(true)
bool(true)
bool(true)
unicode(6) "string"
Done

View File

@ -39,11 +39,5 @@ require dirname(__FILE__)."/drop_type.inc";
bool(true)
bool(true)
bool(true)
string(6) "string"
Done
--UEXPECT--
bool(true)
bool(true)
bool(true)
unicode(6) "string"
Done

View File

@ -37,10 +37,5 @@ require dirname(__FILE__)."/drop_type.inc";
--EXPECT--
bool(true)
bool(true)
string(9) "28-JUL-05"
Done
--UEXPECT--
bool(true)
bool(true)
unicode(9) "28-JUL-05"
Done

View File

@ -37,10 +37,5 @@ require dirname(__FILE__)."/drop_type.inc";
--EXPECT--
bool(true)
bool(true)
string(9) "28-JUL-05"
Done
--UEXPECT--
bool(true)
bool(true)
unicode(9) "28-JUL-05"
Done

View File

@ -34,10 +34,5 @@ require dirname(__FILE__)."/drop_type.inc";
--EXPECT--
bool(true)
bool(true)
string(9) "01-JAN-05"
Done
--UEXPECT--
bool(true)
bool(true)
unicode(9) "01-JAN-05"
Done

View File

@ -34,10 +34,5 @@ require dirname(__FILE__)."/drop_type.inc";
--EXPECT--
bool(true)
bool(true)
string(9) "01-JAN-05"
Done
--UEXPECT--
bool(true)
bool(true)
unicode(9) "01-JAN-05"
Done

View File

@ -34,10 +34,5 @@ require dirname(__FILE__)."/drop_type.inc";
--EXPECT--
bool(true)
bool(true)
string(4) "blah"
Done
--UEXPECT--
bool(true)
bool(true)
unicode(4) "blah"
Done

View File

@ -34,10 +34,5 @@ require dirname(__FILE__)."/drop_type.inc";
--EXPECT--
bool(true)
bool(true)
string(4) "blah"
Done
--UEXPECT--
bool(true)
bool(true)
unicode(4) "blah"
Done

View File

@ -69,86 +69,6 @@ echo "Done\n";
--EXPECT--
bool(true)
int(0)
array(5) {
["ID"]=>
array(0) {
}
["VALUE"]=>
array(0) {
}
["BLOB"]=>
array(0) {
}
["CLOB"]=>
array(0) {
}
["STRING"]=>
array(0) {
}
}
bool(true)
int(4)
array(5) {
["ID"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
[3]=>
string(1) "1"
}
["VALUE"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
[3]=>
string(1) "1"
}
["BLOB"]=>
array(4) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
}
["CLOB"]=>
array(4) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
}
["STRING"]=>
array(4) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
}
}
Done
--UEXPECTF--
bool(true)
int(0)
array(5) {
[u"ID"]=>
array(0) {

View File

@ -67,86 +67,6 @@ echo "Done\n";
--EXPECT--
bool(true)
int(0)
array(5) {
["ID"]=>
array(0) {
}
["VALUE"]=>
array(0) {
}
["BLOB"]=>
array(0) {
}
["CLOB"]=>
array(0) {
}
["STRING"]=>
array(0) {
}
}
bool(true)
int(4)
array(5) {
["ID"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
[3]=>
string(1) "1"
}
["VALUE"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
[3]=>
string(1) "1"
}
["BLOB"]=>
array(4) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
}
["CLOB"]=>
array(4) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
}
["STRING"]=>
array(4) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
[3]=>
NULL
}
}
Done
--UEXPECTF--
bool(true)
int(0)
array(5) {
[u"ID"]=>
array(0) {

View File

@ -76,23 +76,6 @@ echo "Done\n";
?>
--EXPECTF--
Test 1 - oci_connect
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1 - oci_connect
array(1) {
[u"C1"]=>
array(0) {

View File

@ -76,23 +76,6 @@ echo "Done\n";
?>
--EXPECTF--
Test 1 - oci_pconnect
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1 - oci_pconnect
array(1) {
[u"C1"]=>
array(0) {

View File

@ -85,23 +85,6 @@ echo "Done\n";
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(1) {
[0]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
[u"C1"]=>
array(0) {

View File

@ -85,23 +85,6 @@ echo "Done\n";
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(1) {
[0]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
[u"C1"]=>
array(0) {

View File

@ -85,23 +85,6 @@ echo "Done\n";
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(1) {
[0]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
[u"C1"]=>
array(0) {

View File

@ -85,23 +85,6 @@ echo "Done\n";
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(1) {
[0]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 connection)
array(1) {
[u"C1"]=>
array(0) {

View File

@ -85,23 +85,6 @@ echo "Done\n";
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 persistent connection)
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(1) {
[0]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 persistent connection)
array(1) {
[u"C1"]=>
array(0) {

View File

@ -85,23 +85,6 @@ echo "Done\n";
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 persistent connection)
array(1) {
["C1"]=>
array(0) {
}
}
array(1) {
["C1"]=>
array(1) {
[0]=>
string(1) "1"
}
}
Done
--UEXPECTF--
Test 1
Caught Exception: oci_execute(): ORA-00984: %s
resource(%d) of type (oci8 persistent connection)
array(1) {
[u"C1"]=>
array(0) {

View File

@ -77,27 +77,6 @@ if (!($s = oci_parse($c, $drop_table))) {
?>
--EXPECT--
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
bool(false)
Done
--UEXPECT--
array(2) {
[0]=>
unicode(1) "1"

View File

@ -45,25 +45,6 @@ echo "Done\n";
?>
--EXPECTF--
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
bool(true)
Warning: oci_fetch_assoc(): ORA-01002: fetch out of sequence in %s on line %d
bool(false)
bool(true)
Done
--UEXPECTF--
array(5) {
[u"ID"]=>
unicode(1) "1"

View File

@ -45,24 +45,6 @@ echo "Done\n";
?>
--EXPECTF--
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
bool(true)
Warning: ocifetchinto():%sORA-01002: fetch out of sequence in %scursors_old.php on line %d
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
bool(true)
Done
--UEXPECTF--
array(2) {
[u"ID"]=>
unicode(1) "1"

View File

@ -20,19 +20,6 @@ echo "Done\n";
?>
--EXPECTF--
OCI8 DEBUG: OCINlsEnvironmentVariableGet at (%s:%d)
OCI8 DEBUG L1: Got a cached connection: (%s) at (%s:%d)
Done
OCI8 DEBUG: OCISessionRelease at (%s:%d)
OCI8 DEBUG: OCIHandleFree at (%s:%d)
OCI8 DEBUG: OCIHandleFree at (%s:%d)
OCI8 DEBUG: OCISessionPoolDestroy at (%s:%d)
OCI8 DEBUG: OCIHandleFree at (%s:%d)
OCI8 DEBUG: OCIHandleFree at (%s:%d)
OCI8 DEBUG: OCIHandleFree at (%s:%d)
OCI8 DEBUG: OCIHandleFree at (%s:%d)
OCI8 DEBUG: OCIHandleFree at (%s:%d)
--UEXPECTF--
OCI8 DEBUG L1: Got a cached connection: (%s) at (%s:%d)
Done
OCI8 DEBUG: OCISessionRelease at (%s:%d)

View File

@ -37,8 +37,5 @@ echo "Done\n";
?>
--EXPECT--
string(4) "some"
Done
--UEXPECT--
unicode(4) "some"
Done

View File

@ -46,17 +46,6 @@ bool(false)
Warning: oci_define_by_name(): Column name cannot be empty in %s on line %d
bool(false)
Warning: oci_define_by_name() expects at least 3 parameters, 2 given in %s on line %d
NULL
string(4) "some"
Done
--UEXPECTF--
bool(true)
bool(false)
Warning: oci_define_by_name(): Column name cannot be empty in %s on line %d
bool(false)
Warning: oci_define_by_name() expects at least 3 parameters, 2 given in %s on line %d
NULL
unicode(4) "some"

View File

@ -67,25 +67,6 @@ oci_execute($stmt);
echo "Done\n";
?>
--EXPECTF--
string(32) "88b274d7a257ac6f70435b83abd4e26e"
Test 1
bool(true)
string(300) "GIF89%s"
file md5:88b274d7a257ac6f70435b83abd4e26e
Test 2
bool(true)
string(300) "GIF89%s"
file md5:88b274d7a257ac6f70435b83abd4e26e
Test 3 - test repeatability
bool(true)
string(600) "47494638396178004300E66A007F82B839374728252ACCCDE2A1A4CBD3D5E7B2B4D44342588386B98283B35252729092C2C2C4DEAAACD04C4B635B5C83DDDEEC3B383C6E71A56A6D9D61638D7579B17B7EB5E5E6F0999CC68C8DC1B9BAD96B6B924E4E6B7174A97A7AA3888BBD7274A37473988E90C15A5B7EE2E3EF7B7DADA4A5D06D70A27276AC9596C8BBBDD97478AE8588BB9295C3D8D9EA9292C46466926B6E9FA5A8CE9496C52E2B2F535168B3B4D76C6A8C5C5B768A8DBF666896686A9A9C9FC8312E39AEB0D39C9CCD5556789EA1CA9699C58182AF6769973F3D50BCBEDA5E60899899C88C8EBF898ABA57587CB6B7D7D5D7E8221E206C6F9ECED0E4BFC0DC777BB47678A75F5E7D9999CC6E6F987377AE221E1FFFFFFF908E8F595657C7C6C7EEEEF5D5D4D5F6F6"
file md5:80bb3201e2a8bdcb8ab3e1a44a82bb8a
Test 4 - wrong type
bool(true)
Warning: oci_fetch(): ORA-00932: inconsistent datatypes%s on line %d
Done
--UEXPECTF--
unicode(32) "88b274d7a257ac6f70435b83abd4e26e"
Test 1
bool(true)

View File

@ -75,34 +75,6 @@ echo "Done\n";
?>
--EXPECTF--
string(32) "614fcbba1effb7caa27ef0ef25c27fcf"
string(32) "06d4f219d946c74d748d43932cd9dcb2"
Test 1
bool(true)
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
file md5:614fcbba1effb7caa27ef0ef25c27fcf
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
file md5:06d4f219d946c74d748d43932cd9dcb2
Test 2
bool(true)
Warning: oci_fetch(): ORA-00932: %s on line %d
Test 3
bool(true)
file md5:614fcbba1effb7caa27ef0ef25c27fcf
file md5:06d4f219d946c74d748d43932cd9dcb2
Test 4
bool(true)
file md5:614fcbba1effb7caa27ef0ef25c27fcf
file md5:06d4f219d946c74d748d43932cd9dcb2
Done
--UEXPECTF--
unicode(32) "614fcbba1effb7caa27ef0ef25c27fcf"
unicode(32) "06d4f219d946c74d748d43932cd9dcb2"
Test 1

View File

@ -51,23 +51,6 @@ echo "Done\n";
Test 1
bool(true)
Test 2
string(4) "1234"
string(4) "some"
string(4) "some"
string(4) "some"
string(4) "1234"
string(4) "some"
Test 3
bool(true)
string(4) "some"
Warning: oci_result(): %d is not a valid oci8 statement resource in %s on line %d
bool(false)
Done
--UEXPECTF--
Test 1
bool(true)
Test 2
unicode(4) "1234"
unicode(4) "some"
unicode(4) "some"

View File

@ -53,20 +53,6 @@ bool(true)
Test 1 - must do define before execute
bool(true)
NULL
string(4) "some"
Test 2 - normal define order
bool(true)
string(4) "some"
Test 3 - no new define done
string(4) "some"
string(5) "thing"
Done
--UEXPECT--
bool(true)
bool(true)
Test 1 - must do define before execute
bool(true)
NULL
unicode(4) "some"
Test 2 - normal define order
bool(true)

View File

@ -37,8 +37,5 @@ echo "Done\n";
?>
--EXPECT--
string(4) "some"
Done
--UEXPECT--
unicode(4) "some"
Done

View File

@ -39,15 +39,6 @@ require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECTF--
array(1) {
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
Done
--UEXPECTF--
array(1) {
[u"BLOB"]=>
object(OCI-Lob)#%d (1) {

View File

@ -52,34 +52,6 @@ echo "Done\n";
?>
--EXPECTF--
Test 1
array(1) {
["DUMMY"]=>
array(1) {
[0]=>
string(1) "X"
}
}
Test 2
array(1) {
["DUMMY"]=>
array(1) {
[0]=>
string(1) "X"
}
}
Test 3
array(1) {
["CCLASS_NAME"]=>
array(2) {
[0]=>
string(21) "%s.cc1_%d"
[1]=>
string(21) "%s.cc2_%d"
}
}
Done
--UEXPECTF--
Test 1
array(1) {
[u"DUMMY"]=>
array(1) {

View File

@ -60,14 +60,6 @@ resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 persistent connection)
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 persistent connection)
First and third connections are different: OK
Second and fourth connections are different: OK
Done
--UEXPECTF--
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 persistent connection)
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 persistent connection)
First and third connections share a resource: NOT OK
Second and fourth connections share a resource: NOT OK
Done

View File

@ -22,23 +22,6 @@ echo "Done\n";
?>
--EXPECTF--
resource(%s) of type (oci8 connection)
resource(%s) of type (oci8 statement)
Warning: oci_execute(): ORA-00900: invalid SQL statement in %s on line %d
bool(false)
array(4) {
["code"]=>
int(900)
["message"]=>
string(32) "ORA-00900: invalid SQL statement"
["offset"]=>
int(0)
["sqltext"]=>
string(12) "WRONG SYNTAX"
}
Done
--UEXPECTF--
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 statement)

View File

@ -14,20 +14,6 @@ echo "Done\n";
--EXPECTF--
Warning: oci_connect(): ORA-12154: TNS:could not resolve %s in %s on line %d
bool(false)
array(4) {
["code"]=>
int(12154)
["message"]=>
string(%d) "ORA-12154: TNS:could not resolve %s"
["offset"]=>
int(0)
["sqltext"]=>
string(0) ""
}
Done
--UEXPECTF--
Warning: oci_connect(): ORA-12154: TNS:could not resolve %s in %s on line %d
bool(false)
array(4) {
[u"code"]=>
int(12154)

View File

@ -22,23 +22,6 @@ echo "Done\n";
?>
--EXPECTF--
resource(%s) of type (oci8 connection)
resource(%s) of type (oci8 statement)
Warning: ociexecute(): ORA-00900: invalid SQL statement in %s on line %d
bool(false)
array(4) {
["code"]=>
int(900)
["message"]=>
string(32) "ORA-00900: invalid SQL statement"
["offset"]=>
int(0)
["sqltext"]=>
string(12) "WRONG SYNTAX"
}
Done
--UEXPECTF--
resource(%d) of type (oci8 connection)
resource(%d) of type (oci8 statement)

View File

@ -47,14 +47,6 @@ require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECT--
string(1) "1"
string(1) "1"
string(1) "1"
string(1) "1"
string(1) "1"
string(1) "1"
Done
--UEXPECT--
unicode(1) "1"
unicode(1) "1"
unicode(1) "1"

View File

@ -51,104 +51,6 @@ echo "Done\n";
?>
--EXPECT--
int(3)
array(5) {
["ID"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
}
["VALUE"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
}
["BLOB"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
["CLOB"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
["STRING"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
}
int(3)
array(5) {
["ID"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
}
["VALUE"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
}
["BLOB"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
["CLOB"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
["STRING"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
}
Done
--UEXPECT--
int(3)
array(5) {
[u"ID"]=>
array(3) {

View File

@ -52,196 +52,6 @@ echo "Done\n";
?>
--EXPECT--
int(3)
array(5) {
["ID"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
}
["VALUE"]=>
array(3) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
string(1) "1"
}
["BLOB"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
["CLOB"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
["STRING"]=>
array(3) {
[0]=>
NULL
[1]=>
NULL
[2]=>
NULL
}
}
int(3)
array(3) {
[0]=>
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
[1]=>
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
[2]=>
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
}
int(0)
array(0) {
}
int(2)
array(2) {
[0]=>
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
[1]=>
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
}
int(2)
array(5) {
[0]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
[1]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
[2]=>
array(2) {
[0]=>
NULL
[1]=>
NULL
}
[3]=>
array(2) {
[0]=>
NULL
[1]=>
NULL
}
[4]=>
array(2) {
[0]=>
NULL
[1]=>
NULL
}
}
int(1)
array(5) {
[0]=>
array(1) {
[0]=>
string(1) "1"
}
[1]=>
array(1) {
[0]=>
string(1) "1"
}
[2]=>
array(1) {
[0]=>
NULL
}
[3]=>
array(1) {
[0]=>
NULL
}
[4]=>
array(1) {
[0]=>
NULL
}
}
Done
--UEXPECT--
int(3)
array(5) {
[u"ID"]=>
array(3) {

View File

@ -112,472 +112,6 @@ echo "Done\n";
--EXPECT--
None
int(4)
array(2) {
["ID"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
["VALUE"]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
OCI_ASSOC
int(4)
array(2) {
["ID"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
["VALUE"]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_COLUMN
int(4)
array(2) {
["ID"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
["VALUE"]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_COLUMN|OCI_ASSOC
int(4)
array(2) {
["ID"]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
["VALUE"]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM
int(4)
array(2) {
[0]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
[1]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM|OCI_ASSOC
int(4)
array(2) {
[0]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
[1]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW
int(4)
array(4) {
[0]=>
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(2) "-1"
}
[1]=>
array(2) {
["ID"]=>
string(1) "2"
["VALUE"]=>
string(2) "-2"
}
[2]=>
array(2) {
["ID"]=>
string(1) "3"
["VALUE"]=>
string(2) "-3"
}
[3]=>
array(2) {
["ID"]=>
string(1) "4"
["VALUE"]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW|OCI_ASSOC
int(4)
array(4) {
[0]=>
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(2) "-1"
}
[1]=>
array(2) {
["ID"]=>
string(1) "2"
["VALUE"]=>
string(2) "-2"
}
[2]=>
array(2) {
["ID"]=>
string(1) "3"
["VALUE"]=>
string(2) "-3"
}
[3]=>
array(2) {
["ID"]=>
string(1) "4"
["VALUE"]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN
int(4)
array(4) {
[0]=>
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(2) "-1"
}
[1]=>
array(2) {
["ID"]=>
string(1) "2"
["VALUE"]=>
string(2) "-2"
}
[2]=>
array(2) {
["ID"]=>
string(1) "3"
["VALUE"]=>
string(2) "-3"
}
[3]=>
array(2) {
["ID"]=>
string(1) "4"
["VALUE"]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN|OCI_ASSOC
int(4)
array(4) {
[0]=>
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(2) "-1"
}
[1]=>
array(2) {
["ID"]=>
string(1) "2"
["VALUE"]=>
string(2) "-2"
}
[2]=>
array(2) {
["ID"]=>
string(1) "3"
["VALUE"]=>
string(2) "-3"
}
[3]=>
array(2) {
["ID"]=>
string(1) "4"
["VALUE"]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM
int(4)
array(4) {
[0]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(2) "-1"
}
[1]=>
array(2) {
[0]=>
string(1) "2"
[1]=>
string(2) "-2"
}
[2]=>
array(2) {
[0]=>
string(1) "3"
[1]=>
string(2) "-3"
}
[3]=>
array(2) {
[0]=>
string(1) "4"
[1]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW|OCI_FETCHSTATEMENT_BY_COLUMN|OCI_NUM|OCI_ASSOC
int(4)
array(4) {
[0]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(2) "-1"
}
[1]=>
array(2) {
[0]=>
string(1) "2"
[1]=>
string(2) "-2"
}
[2]=>
array(2) {
[0]=>
string(1) "3"
[1]=>
string(2) "-3"
}
[3]=>
array(2) {
[0]=>
string(1) "4"
[1]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW|OCI_NUM
int(4)
array(4) {
[0]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(2) "-1"
}
[1]=>
array(2) {
[0]=>
string(1) "2"
[1]=>
string(2) "-2"
}
[2]=>
array(2) {
[0]=>
string(1) "3"
[1]=>
string(2) "-3"
}
[3]=>
array(2) {
[0]=>
string(1) "4"
[1]=>
string(2) "-4"
}
}
OCI_FETCHSTATEMENT_BY_ROW|OCI_NUM|OCI_ASSOC
int(4)
array(4) {
[0]=>
array(2) {
[0]=>
string(1) "1"
[1]=>
string(2) "-1"
}
[1]=>
array(2) {
[0]=>
string(1) "2"
[1]=>
string(2) "-2"
}
[2]=>
array(2) {
[0]=>
string(1) "3"
[1]=>
string(2) "-3"
}
[3]=>
array(2) {
[0]=>
string(1) "4"
[1]=>
string(2) "-4"
}
}
OCI_NUM
int(4)
array(2) {
[0]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
[1]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
OCI_NUM|OCI_ASSOC
int(4)
array(2) {
[0]=>
array(4) {
[0]=>
string(1) "1"
[1]=>
string(1) "2"
[2]=>
string(1) "3"
[3]=>
string(1) "4"
}
[1]=>
array(4) {
[0]=>
string(2) "-1"
[1]=>
string(2) "-2"
[2]=>
string(2) "-3"
[3]=>
string(2) "-4"
}
}
Done
--UEXPECT--
None
int(4)
array(2) {
[u"ID"]=>
array(4) {

View File

@ -77,236 +77,6 @@ require dirname(__FILE__).'/drop_table.inc';
echo "Done\n";
?>
--EXPECT--
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(4) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(4) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(4) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(4) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(4) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(4) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
Done
--UEXPECT--
array(10) {
[0]=>
unicode(1) "1"

View File

@ -43,44 +43,6 @@ echo "Done\n";
?>
--EXPECT--
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
Done
--UEXPECT--
array(5) {
[u"ID"]=>
unicode(1) "1"

View File

@ -50,38 +50,6 @@ echo "Done\n";
?>
--EXPECT--
int(5)
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
int(5)
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
Done
--UEXPECT--
int(5)
array(2) {
[0]=>
unicode(1) "1"

View File

@ -60,138 +60,6 @@ echo "Done\n";
?>
--EXPECT--
int(5)
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
int(5)
array(2) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
int(5)
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
int(5)
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
int(5)
array(4) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
}
int(5)
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
int(5)
array(10) {
[0]=>
string(1) "1"
["ID"]=>
string(1) "1"
[1]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
[2]=>
NULL
["BLOB"]=>
NULL
[3]=>
NULL
["CLOB"]=>
NULL
[4]=>
NULL
["STRING"]=>
NULL
}
int(5)
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
int(5)
array(5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
int(5)
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
Done
--UEXPECT--
int(5)
array(2) {
[0]=>
unicode(1) "1"

View File

@ -57,28 +57,6 @@ Warning: ocifetchinto() expects at most 3 parameters, 4 given in %s on line %d
NULL
NULL
Warning: ocifetchinto(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
NULL
int(5)
array(2) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
}
Done
--UEXPECTF--
Warning: ocifetchinto() expects at least 2 parameters, 1 given in %s on line %d
NULL
Notice: Undefined variable: all in %s on line %d
NULL
Warning: ocifetchinto() expects at most 3 parameters, 4 given in %s on line %d
NULL
NULL
Warning: ocifetchinto(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
NULL

View File

@ -43,44 +43,6 @@ echo "Done\n";
?>
--EXPECTF--
object(stdClass)#%d (5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
object(stdClass)#%d (5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
object(stdClass)#%d (5) {
["ID"]=>
string(1) "1"
["VALUE"]=>
string(1) "1"
["BLOB"]=>
NULL
["CLOB"]=>
NULL
["STRING"]=>
NULL
}
Done
--UEXPECTF--
object(stdClass)#%d (5) {
[u"ID"]=>
unicode(1) "1"

View File

@ -43,44 +43,6 @@ echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
Done
--UEXPECT--
array(5) {
[0]=>
unicode(1) "1"

View File

@ -55,55 +55,6 @@ echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
bool(false)
string(2) "ID"
string(6) "NUMBER"
int(2)
int(-127)
int(0)
int(22)
bool(false)
string(5) "VALUE"
string(6) "NUMBER"
int(2)
int(-127)
int(0)
int(22)
bool(true)
string(4) "BLOB"
string(4) "BLOB"
int(113)
int(0)
int(0)
int(4000)
bool(true)
string(4) "CLOB"
string(4) "CLOB"
int(112)
int(0)
int(0)
int(4000)
bool(true)
string(6) "STRING"
string(8) "VARCHAR2"
int(1)
int(0)
int(0)
int(10)
Done
--UEXPECT--
array(5) {
[0]=>
unicode(1) "1"

View File

@ -77,107 +77,6 @@ echo "Done\n";
?>
--EXPECTF--
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
Warning: oci_field_is_null(): Invalid column index "-1" in %s on line %d
bool(false)
Warning: oci_field_name(): Invalid column index "-1" in %s on line %d
bool(false)
Warning: oci_field_type(): Invalid column index "-1" in %s on line %d
bool(false)
Warning: oci_field_type_raw(): Invalid column index "-1" in %s on line %d
bool(false)
Warning: oci_field_scale(): Invalid column index "-1" in %s on line %d
bool(false)
Warning: oci_field_precision(): Invalid column index "-1" in %s on line %d
bool(false)
Warning: oci_field_size(): Invalid column index "-1" in %s on line %d
bool(false)
Warning: oci_field_is_null(): Invalid column name "none" in %s on line %d
bool(false)
Warning: oci_field_name(): Invalid column name "none" in %s on line %d
bool(false)
Warning: oci_field_type(): Invalid column name "none" in %s on line %d
bool(false)
Warning: oci_field_type_raw(): Invalid column name "none" in %s on line %d
bool(false)
Warning: oci_field_scale(): Invalid column name "none" in %s on line %d
bool(false)
Warning: oci_field_precision(): Invalid column name "none" in %s on line %d
bool(false)
Warning: oci_field_size(): Invalid column name "none" in %s on line %d
bool(false)
Warning: oci_field_is_null(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Warning: oci_field_name(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Warning: oci_field_type(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Warning: oci_field_type_raw(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Warning: oci_field_scale(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Warning: oci_field_precision(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Warning: oci_field_size(): supplied resource is not a valid oci8 statement resource in %s on line %d
bool(false)
Warning: oci_field_is_null(): Invalid column index "0" in %s on line %d
bool(false)
Warning: oci_field_name(): Invalid column index "0" in %s on line %d
bool(false)
Warning: oci_field_type(): Invalid column index "0" in %s on line %d
bool(false)
Warning: oci_field_type_raw(): Invalid column index "0" in %s on line %d
bool(false)
Warning: oci_field_scale(): Invalid column index "0" in %s on line %d
bool(false)
Warning: oci_field_precision(): Invalid column index "0" in %s on line %d
bool(false)
Warning: oci_field_size(): Invalid column index "0" in %s on line %d
bool(false)
Warning: oci_field_size() expects exactly 2 parameters, 1 given in %s on line %d
bool(false)
Done
--UEXPECTF--
array(5) {
[0]=>
unicode(1) "1"

View File

@ -55,55 +55,6 @@ echo "Done\n";
?>
--EXPECT--
array(5) {
[0]=>
string(1) "1"
[1]=>
string(1) "1"
[2]=>
NULL
[3]=>
NULL
[4]=>
NULL
}
bool(false)
string(2) "ID"
string(6) "NUMBER"
int(2)
int(-127)
int(0)
int(22)
bool(false)
string(5) "VALUE"
string(6) "NUMBER"
int(2)
int(-127)
int(0)
int(22)
bool(true)
string(4) "BLOB"
string(4) "BLOB"
int(113)
int(0)
int(0)
int(4000)
bool(true)
string(4) "CLOB"
string(4) "CLOB"
int(112)
int(0)
int(0)
int(4000)
bool(true)
string(6) "STRING"
string(8) "VARCHAR2"
int(1)
int(0)
int(0)
int(10)
Done
--UEXPECT--
array(5) {
[0]=>
unicode(1) "1"

View File

@ -47,24 +47,6 @@ echo "Done\n";
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
int(0)
Warning: OCI-Lob::write() expects parameter 2 to be long, string given in %slob_002.php on line %d
NULL
int(4)
int(40000)
int(40004)
Warning: OCI-Lob::seek() expects parameter 1 to be long, string given in %slob_002.php on line %d
NULL
bool(false)
int(40004)
Done
--UEXPECTF--
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>
resource(%d) of type (oci8 descriptor)

View File

@ -54,31 +54,6 @@ echo "Done\n";
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
int(4)
bool(true)
int(3)
bool(true)
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
bool(true)
string(4) "strt"
string(8) "strtstrt"
Done
--UEXPECTF--
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>
resource(%d) of type (oci8 descriptor)

View File

@ -36,21 +36,6 @@ echo "Done\n";
?>
--EXPECTF--
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
bool(true)
Done
--UEXPECTF--
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {

View File

@ -42,29 +42,6 @@ echo "Done\n";
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
int(0)
int(7000)
int(7000)
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
int(7000)
int(7000)
Done
--UEXPECTF--
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>
resource(%d) of type (oci8 descriptor)

View File

@ -44,26 +44,6 @@ echo "Done\n";
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
int(7000)
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
int(7000)
Done
--UEXPECTF--
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>
resource(%d) of type (oci8 descriptor)

View File

@ -41,33 +41,6 @@ echo "Done\n";
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
bool(true)
bool(true)
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
string(43) "this
is
a
test
file for
test lob_009.phpt
"
Done
--UEXPECTF--
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>
resource(%d) of type (oci8 descriptor)

View File

@ -69,17 +69,6 @@ echo "Done\n";
int(32)
bool(true)
string(32) "some string here. string, I said"
array(2) {
[0]=>
string(32) "some string here. string, I said"
["BLOB"]=>
string(32) "some string here. string, I said"
}
Done
--UEXPECT--
int(32)
bool(true)
string(32) "some string here. string, I said"
array(2) {
[0]=>
string(32) "some string here. string, I said"

View File

@ -45,23 +45,6 @@ Warning: oci_bind_by_name() expects at least 3 parameters, 2 given in %s on line
Warning: oci_bind_by_name() expects at least 3 parameters, 1 given in %s on line %d
Warning: oci_execute(): ORA-00932: inconsistent datatypes: expected NUMBER got BLOB in %s on line %d
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
Done
--UEXPECTF--
Warning: oci_new_descriptor() expects at most 2 parameters, 5 given in %s on line %d
Warning: oci_bind_by_name() expects at most 5 parameters, 6 given in %s on line %d
Warning: oci_bind_by_name() expects at most 5 parameters, 7 given in %s on line %d
Warning: oci_bind_by_name() expects at least 3 parameters, 2 given in %s on line %d
Warning: oci_bind_by_name() expects at least 3 parameters, 1 given in %s on line %d
Warning: oci_execute(): ORA-00932: inconsistent datatypes: expected NUMBER got BLOB in %s on line %d
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>

View File

@ -50,22 +50,6 @@ echo "Done\n";
?>
--EXPECTF--
array(2) {
["LOB_1"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["LOB_2"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
string(5) "first"
string(6) "second"
Done
--UEXPECTF--
array(2) {
[u"LOB_1"]=>
object(OCI-Lob)#%d (1) {

View File

@ -52,22 +52,6 @@ echo "Done\n";
?>
--EXPECTF--
array(2) {
["LOB_1"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["LOB_2"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
string(5) "first"
string(6) "second"
Done
--UEXPECTF--
array(2) {
[u"LOB_1"]=>
object(OCI-Lob)#%d (1) {

View File

@ -60,12 +60,6 @@ echo "Done\n";
?>
--EXPECTF--
string(4) "data"
string(9) "long data"
string(9) "long data"
string(4) "data"
Done
--UEXPECTF--
unicode(4) "data"
unicode(9) "long data"
unicode(9) "long data"

View File

@ -72,19 +72,6 @@ Warning: oci_lob_save() expects at least 2 parameters, 0 given in %s on line %d
Warning: oci_lob_save(): Unable to find descriptor property in %s on line %d
Warning: OCI-Lob::save(): Offset parameter must be greater than or equal to 0 in %s on line %d
string(4) "data"
string(9) "long data"
string(9) "long data"
string(4) "data"
Done
--UEXPECTF--
Warning: OCI-Lob::save() expects at least 1 parameter, 0 given in %s on line %d
Warning: oci_lob_save() expects at least 2 parameters, 0 given in %s on line %d
Warning: oci_lob_save(): Unable to find descriptor property in %s on line %d
Warning: OCI-Lob::save(): Offset parameter must be greater than or equal to 0 in %s on line %d
unicode(4) "data"
unicode(9) "long data"

View File

@ -46,43 +46,6 @@ echo "Done\n";
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
bool(true)
bool(true)
Warning: OCI-Lob::import() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Warning: oci_lob_import() expects exactly 2 parameters, 1 given in %s on line %d
NULL
bool(true)
Warning: oci_lob_import(): Unable to find descriptor property in %s on line %d
bool(false)
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
string(43) "this
is
a
test
file for
test lob_009.phpt
"
Done
--UEXPECTF--
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>
resource(%d) of type (oci8 descriptor)

View File

@ -45,35 +45,6 @@ echo "Done\n";
?>
--EXPECTF--
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
int(0)
int(7000)
int(7000)
array(2) {
[0]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
["BLOB"]=>
object(OCI-Lob)#%d (1) {
["descriptor"]=>
resource(%d) of type (oci8 descriptor)
}
}
int(7000)
int(7000)
Warning: oci_lob_load() expects exactly 1 parameter, 0 given in %s on line %d
NULL
Warning: oci_lob_load(): Unable to find descriptor property in %s on line %d
bool(false)
Done
--UEXPECTF--
object(OCI-Lob)#%d (1) {
[u"descriptor"]=>
resource(%d) of type (oci8 descriptor)

Some files were not shown because too many files have changed in this diff Show More