PHP ManualPharData::addEmptyDir(PHP >= 5.3.0, PECL phar >= 2.0.0) PharData::addEmptyDir — Add an empty directory to the tar/zip archive Description
bool PharData::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 PharData::addEmptyDir() example
<?php See Also
![]() |
PHP-Index
New Tutorial entries
|