PHP ManualPhar::addEmptyDir(Unknown) Phar::addEmptyDir — Add an empty directory to the phar archive Description
void Phar::addEmptyDir
( string
$dirname
)
With this method, an empty directory is created with path dirname. This method is similar to ZipArchive::addEmptyDir(). Parameters
Return Valuesno return value, exception is thrown on failure. Examples
Example #1 A Phar::addEmptyDir() example
<?php See Also
![]() |
PHP-Index
New Tutorial entries
|