Author: grichter
Date: 2007-03-14 12:13:29 +0100 (Wed, 14 Mar 2007)
New Revision: 130
Modified:
trunk/ext/mysqli/tests/mysqli_fetch_assoc_no_alias.phpt
Log:
fixed testcase: keys for associative arrays are always strings, not
integers.
Modified: trunk/ext/mysqli/tests/mysqli_fetch_assoc_no_alias.phpt
===================================================================
--- trunk/ext/mysqli/tests/mysqli_fetch_assoc_no_alias.phpt 2007-03-14 10:43:35 UTC (rev
129)
+++ trunk/ext/mysqli/tests/mysqli_fetch_assoc_no_alias.phpt 2007-03-14 11:13:29 UTC (rev
130)
@@ -92,58 +92,58 @@
--EXPECTF--
[002]
array(2) {
- [1]=>
+ ["1"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
[004]
array(2) {
["a"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
[006]
array(2) {
["a"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
[008]
array(2) {
["a"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
[011]
array(2) {
- [1]=>
+ ["1"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
[014]
array(2) {
["a"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
[017]
array(2) {
["a"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
[017]
array(2) {
["a"]=>
string(1) "1"
- [2]=>
+ ["2"]=>
string(1) "2"
}
done!
| Thread |
|---|
| • PHP mysqlnd svn commit: r130 - trunk/ext/mysqli/tests | grichter | 14 Mar |