Skip to content

Commit 1eae772

Browse files
realFlowControlcmb69
authored andcommitted
Added missing call to ZipArchive::close()
1 parent dcd7723 commit 1eae772

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

ext/zip/tests/oo_unchangeIndex.phpt

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ $zip->unchangeIndex(0);
2828
var_dump($zip->getNameIndex(0));
2929
var_dump($zip->getCommentIndex(0));
3030

31+
$zip->close();
32+
3133
var_dump(md5_file($file));
3234
?>
3335
--CLEAN--

ext/zip/tests/oo_unchangeName.phpt

+2
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ $zip->unchangeName('baz filename');
2828
var_dump($zip->getNameIndex(0));
2929
var_dump($zip->getCommentIndex(0));
3030

31+
$zip->close();
32+
3133
var_dump(md5_file($file));
3234
?>
3335
--CLEAN--

0 commit comments

Comments
 (0)