summaryrefslogtreecommitdiff
path: root/ext/oci8/tests/fetch_array.phpt
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2006-05-18 13:21:08 +0000
committerAntony Dovgal <tony2001@php.net>2006-05-18 13:21:08 +0000
commit749f4ac2ab56290317f0020010e2e558196bde10 (patch)
tree18e35089dfbb19b0ff4c5c5e8658f6479ed7d583 /ext/oci8/tests/fetch_array.phpt
parent557b7fbec584389203ff2b2d472893dfa493e2ad (diff)
downloadphp-git-749f4ac2ab56290317f0020010e2e558196bde10.tar.gz
MFH: fix #37487 (oci_fetch_array() array-type should always default to OCI_BOTH)
Diffstat (limited to 'ext/oci8/tests/fetch_array.phpt')
-rw-r--r--ext/oci8/tests/fetch_array.phpt54
1 files changed, 48 insertions, 6 deletions
diff --git a/ext/oci8/tests/fetch_array.phpt b/ext/oci8/tests/fetch_array.phpt
index 3078295426..e2f32483d5 100644
--- a/ext/oci8/tests/fetch_array.phpt
+++ b/ext/oci8/tests/fetch_array.phpt
@@ -209,58 +209,100 @@ array(4) {
["VALUE"]=>
string(1) "1"
}
-array(2) {
+array(4) {
[0]=>
string(1) "1"
+ ["ID"]=>
+ string(1) "1"
[1]=>
string(1) "1"
+ ["VALUE"]=>
+ string(1) "1"
}
-array(2) {
+array(4) {
[0]=>
string(1) "1"
+ ["ID"]=>
+ string(1) "1"
[1]=>
string(1) "1"
+ ["VALUE"]=>
+ string(1) "1"
}
-array(2) {
+array(4) {
[0]=>
string(1) "1"
+ ["ID"]=>
+ string(1) "1"
[1]=>
string(1) "1"
+ ["VALUE"]=>
+ string(1) "1"
}
-array(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
}
-array(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
}
-array(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