From: Georg Richter Date: Sun, 16 Feb 2003 21:19:32 +0000 (+0000) Subject: fixed output X-Git-Tag: RELEASE_0_5~966 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fe9a33a002079c18514e7581be648f709975a2a3;p=php fixed output --- diff --git a/ext/mysqli/tests/042.phpt b/ext/mysqli/tests/042.phpt index e119bc469a..865ee208a6 100644 --- a/ext/mysqli/tests/042.phpt +++ b/ext/mysqli/tests/042.phpt @@ -43,7 +43,7 @@ mysqli_fetch_object mysqli_close($link); ?> --EXPECT-- -object()(7) { +object(stdClass)(7) { ["c1"]=> string(1) "0" ["c2"]=> diff --git a/ext/mysqli/tests/047.phpt b/ext/mysqli/tests/047.phpt index 8399166afc..36f043a908 100644 --- a/ext/mysqli/tests/047.phpt +++ b/ext/mysqli/tests/047.phpt @@ -19,17 +19,17 @@ mysqli_prepare_result $result = mysqli_prepare_result($stmt); $fields = mysqli_fetch_fields($result); - var_dump($fields); - mysqli_free_result($result); + var_dump($fields); + mysqli_stmt_close($stmt); mysqli_close($link); ?> --EXPECT-- array(2) { [0]=> - object()(9) { + object(stdClass)(9) { ["name"]=> string(3) "foo" ["orgname"]=> @@ -50,7 +50,7 @@ array(2) { int(0) } [1]=> - object()(9) { + object(stdClass)(9) { ["name"]=> string(3) "bar" ["orgname"]=>