title: Delete a folder inside zip in php
body: <p>I've a ZIP file (<code>skins.zip</code>) having the following structure:</p>
  
  <pre><code>yellow  
    |_resources  
    |_theme  
    |_codes
  </code></pre>
  
  <p>I need to delete folder called <code>theme/</code> inside the <code>skins.zip</code>. I've tried the following code but didn't worked.</p>
  
  <pre class="lang-php prettyprint-override"><code>$zip = new ZipArchive;
  if ($zip-&gt;open('skins.zip') === TRUE) {
          $zip-&gt;deleteName('yellow/theme/');
          $zip-&gt;close();
  }
  </code></pre>
  
  <p>Can anyone help me, please?</p>