summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt')
-rw-r--r--ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt65
1 files changed, 16 insertions, 49 deletions
diff --git a/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt b/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt
index 42f8156af2..a8ad58e00d 100644
--- a/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt
+++ b/ext/mysqli/tests/mysqli_fetch_field_direct_oo.phpt
@@ -53,60 +53,27 @@ require_once('skipifconnectfailure.inc');
Warning: mysqli_result::fetch_field_direct(): Field offset is invalid for resultset in %s on line %d
bool(false)
object(stdClass)#%d (11) {
- ["name"]=>
- string(2) "ID"
- ["orgname"]=>
- string(2) "id"
- ["table"]=>
- string(4) "TEST"
- ["orgtable"]=>
- string(4) "test"
- ["def"]=>
- string(0) ""
- ["max_length"]=>
+ [%u|b%"name"]=>
+ %unicode|string%(2) "ID"
+ [%u|b%"orgname"]=>
+ %unicode|string%(2) "id"
+ [%u|b%"table"]=>
+ %unicode|string%(4) "TEST"
+ [%u|b%"orgtable"]=>
+ %unicode|string%(4) "test"
+ [%u|b%"def"]=>
+ %unicode|string%(0) ""
+ [%u|b%"max_length"]=>
int(%d)
- ["length"]=>
+ [%u|b%"length"]=>
int(11)
- ["charsetnr"]=>
+ [%u|b%"charsetnr"]=>
int(%d)
- ["flags"]=>
+ [%u|b%"flags"]=>
int(%d)
- ["type"]=>
+ [%u|b%"type"]=>
int(%d)
- ["decimals"]=>
- int(%d)
-}
-
-Warning: mysqli_result::fetch_field_direct(): Field offset is invalid for resultset in %s on line %d
-bool(false)
-
-Warning: mysqli_result::fetch_field_direct(): Couldn't fetch mysqli_result in %s on line %d
-done!
---UEXPECTF--
-Warning: mysqli_result::fetch_field_direct(): Field offset is invalid for resultset in %s on line %d
-bool(false)
-object(stdClass)#%d (11) {
- [u"name"]=>
- unicode(2) "ID"
- [u"orgname"]=>
- unicode(2) "id"
- [u"table"]=>
- unicode(4) "TEST"
- [u"orgtable"]=>
- unicode(4) "test"
- [u"def"]=>
- unicode(0) ""
- [u"max_length"]=>
- int(%d)
- [u"length"]=>
- int(%d)
- [u"charsetnr"]=>
- int(%d)
- [u"flags"]=>
- int(%d)
- [u"type"]=>
- int(%d)
- [u"decimals"]=>
+ [%u|b%"decimals"]=>
int(%d)
}