A solution of #480 (closing file after isFilePasswordProtectedAtPath) by Tamamaki · Pull Request #482 · ZipArchive/ZipArchive

issue: Calling isFilePasswordProtectedAtPath leaves the zip file opened.(dosen't close) #480 Here is a solution of the issue.