|
RarEntry::extractExtract entry from the archive Description
public bool RarEntry::extract
( string
$dir
[, string $filepath = ''
[, string $password = NULL
[, bool $extended_data = false
]]] )
RarEntry::extract extracts the entry's data.
It will create new file in the specified
Parameters
Warning
Prior to version 2.0.0, this function would not handle relative paths correctly. Use realpath as a workaround. Return Values
Returns Changelog
Examples
Example #1 RarEntry::extract example
<?php Example #2 How to extract all files in archive:
<?php |