summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2003-04-02 22:07:27 +0000
committerGeorg Richter <georg@php.net>2003-04-02 22:07:27 +0000
commit625df8642851ea75228613deccb649c639203231 (patch)
tree4f6d0e8ce6154cf3e9d5304e1b62c9cd2d517293
parent716142c4eabd1e5c086bca3198ba72670b10ecfc (diff)
downloadphp-git-625df8642851ea75228613deccb649c639203231.tar.gz
fixed expected output
-rw-r--r--ext/mysqli/tests/028.phpt2
-rw-r--r--ext/mysqli/tests/042.phpt4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/tests/028.phpt b/ext/mysqli/tests/028.phpt
index 2954d28f3c..d9e848f2ba 100644
--- a/ext/mysqli/tests/028.phpt
+++ b/ext/mysqli/tests/028.phpt
@@ -9,7 +9,7 @@ function test: mysqli_character_set_name
/*** test mysqli_connect 127.0.0.1 ***/
$link = mysqli_connect("localhost", $user, $passwd);
- $cset = mysqli_character_set_name($link);
+ $cset = substr(mysqli_character_set_name($link),0,6);
var_dump($cset);
diff --git a/ext/mysqli/tests/042.phpt b/ext/mysqli/tests/042.phpt
index 865ee208a6..58580c631a 100644
--- a/ext/mysqli/tests/042.phpt
+++ b/ext/mysqli/tests/042.phpt
@@ -42,8 +42,8 @@ mysqli_fetch_object
mysqli_close($link);
?>
---EXPECT--
-object(stdClass)(7) {
+--EXPECTF--
+object(stdClass)#%d (7) {
["c1"]=>
string(1) "0"
["c2"]=>