title: Access files in zip before extracting them
body: <p>How can I validate files in a zip file using <code>finfo_open(FILEINFO_MIME_TYPE)</code> before extracting them using <code>extractTo</code>?</p>
  
  <p>I am using the ziparchive class: <a href="http://php.net/manual/en/class.ziparchive.php" rel="nofollow">http://php.net/manual/en/class.ziparchive.php</a></p>