summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/zip/tests/bug7658.phpt5
-rw-r--r--ext/zip/tests/oo_delete.phpt3
2 files changed, 5 insertions, 3 deletions
diff --git a/ext/zip/tests/bug7658.phpt b/ext/zip/tests/bug7658.phpt
index 6e43315520..56fd00fbab 100644
--- a/ext/zip/tests/bug7658.phpt
+++ b/ext/zip/tests/bug7658.phpt
@@ -47,8 +47,9 @@ for($i=0; $i < $zip->numFiles; $i++) {
$ar = array_diff($found, $expect);
var_dump($ar);
-@unlink($file);
+unset($zip);
+unlink($file);
?>
--EXPECTF--
array(0) {
-} \ No newline at end of file
+}
diff --git a/ext/zip/tests/oo_delete.phpt b/ext/zip/tests/oo_delete.phpt
index 176cda44dc..ec1f8cdeee 100644
--- a/ext/zip/tests/oo_delete.phpt
+++ b/ext/zip/tests/oo_delete.phpt
@@ -63,7 +63,8 @@ $sb = $zip->statIndex(1);
var_dump($sb);
$sb = $zip->statIndex(2);
var_dump($sb);
-@unlink($file);
+unset($zip);
+unlink($file);
?>
--EXPECTF--
ok