Function __global->convert_zip_to_tar
Definitions
sources/tar2.php
- Convert a ZIP file to a TAR file.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $in_path | PATH | No | No | required parameter | N/A | N/A | The path of the ZIP file to convert |
| &$out_path | ?PATH | Yes | No | Null | N/A | N/A | The path of the TAR file to save to (null: make up a temporary path) |
Preview
Code (PHP)
/**
* Convert a ZIP file to a TAR file.
*
* @param PATH $in_path The path of the ZIP file to convert
* @param ?PATH $out_path The path of the TAR file to save to (null: make up a temporary path)
*/
function convert_zip_to_tar(string $in_path, ?string &$out_path = null)
* Convert a ZIP file to a TAR file.
*
* @param PATH $in_path The path of the ZIP file to convert
* @param ?PATH $out_path The path of the TAR file to save to (null: make up a temporary path)
*/
function convert_zip_to_tar(string $in_path, ?string &$out_path = null)

