PHP » GoLang |
login |
register |
about
|
GoLang PharData::addEmptyDir
request it (368)
GoLang replacement for PHP's PharData::addEmptyDir
[edit | history]
PharData::addEmptyDir(PHP 5 >= 5.3.0, PHP 7, PECL phar >= 2.0.0) PharData::addEmptyDir — Add an empty directory to the tar/zip archive Description
void 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
|
more
Recently updated
more
Most requested
more
Last requests
|