title: Calling ZipArchive::close() - is it necessary?
body: <p>I am extending the ZipArchive class and I am opening a zip file in the constructor, then I added <code>$this-&gt;close()</code> in the destructor. Apparently I need to close the archive earlier in some cases and attempting to close it again in the destructor throws an exception. </p>
  
  <p>The documentation is not very clear on how to check if there is currently a file opened within the object so I was wondering - do I really need to close it at all, since I know that php will automatically close all file handles and stuff at the end of execution?</p>