diff options
-rw-r--r-- | ext/mysqli/tests/042.phpt | 2 | ||||
-rw-r--r-- | ext/mysqli/tests/047.phpt | 8 |
2 files changed, 5 insertions, 5 deletions
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"]=> |