Adds an empty directory in the archive
<p>i want to Adds an empty directory in the archive. </p>

<pre><code>ZipArchive::addEmptyDir
</code></pre>

<p>this function add it
but i the root only</p>

<p>assume i want add it in</p>

<pre><code>/dir/dir/
</code></pre>

<p>i cant</p>

<pre><code>&lt;?php
$zip = new ZipArchive;
if ($zip-&gt;open('test.zip') === TRUE) {
    if($zip-&gt;addEmptyDir('newDirectory')) {
        echo 'Created a new root directory';
    } else {
        echo 'Could not create the directory';
    }
    $zip-&gt;close();
} else {
    echo 'failed';
}
?&gt;
</code></pre>

<p>this add it in the root
how i can add the new dir in sub dir</p>
