Phar::addEmptyDir

Phar::addEmptyDir

(Unknown)

Phar::addEmptyDirAdd an empty directory to the phar archive

Description

public void Phar::addEmptyDir ( string $dirname )

Note:

This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown.

With this method, an empty directory is created with path dirnam