summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/mysqli/tests/051.phpt2
-rw-r--r--ext/mysqli/tests/052.phpt4
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/tests/051.phpt b/ext/mysqli/tests/051.phpt
index 746597e925..dde734a1e0 100644
--- a/ext/mysqli/tests/051.phpt
+++ b/ext/mysqli/tests/051.phpt
@@ -13,7 +13,7 @@ free statement after close
mysqli_execute($stmt1);
mysqli_close($link);
- mysqli_stmt_close($stmt1);
+ @mysqli_stmt_close($stmt1);
printf("Ok\n");
?>
--EXPECT--
diff --git a/ext/mysqli/tests/052.phpt b/ext/mysqli/tests/052.phpt
index 5682478887..4ae9b12c50 100644
--- a/ext/mysqli/tests/052.phpt
+++ b/ext/mysqli/tests/052.phpt
@@ -12,8 +12,8 @@ call statement after close
$stmt2 = mysqli_prepare($link, "SELECT CURRENT_USER()");
mysqli_close($link);
- mysqli_execute($stmt2);
- mysqli_stmt_close($stmt2);
+ @mysqli_execute($stmt2);
+ @mysqli_stmt_close($stmt2);
printf("Ok\n");
?>
--EXPECT--