From: Georg Richter Date: Wed, 2 Apr 2003 22:07:27 +0000 (+0000) Subject: fixed expected output X-Git-Tag: RELEASE_0_5~190 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=625df8642851ea75228613deccb649c639203231;p=php fixed expected output --- 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"]=>