(PHP >= 5.3.0, PECL phar >= 2.0.0)
Extract the contents of a tar/zip archive to a directory
bool PharData::extractTo ( string $pathto [, string|array $files [, bool $overwrite = false ]] )
Extract all files within a tar/zip archive to disk. Extracted files and directories preserve permissions as stored in the archive. The optional parameters allow optional control over which files are extracted, and whether existing