public static function unzip_using_ziparchive($file, $destination) {
		$za = new \ZipArchive;
		$zares = $za->open($file);
		if ($zares === true) {
			$za->extractTo($destination);
			$za->close();
			return true;
		} else {
			return false;
		}
	}
public static function unzip_using_ziparchive($file, $destination) {
		$za = new \ZipArchive;
		$zares = $za->open($file);
		if ($zares === true) {
			$za->extractTo($destination);
			$za->close();
			return true;
		} else {
			return false;
		}
	}
public static function unzip_using_ziparchive ( $ file , $ destination ) { $ za = new \ ZipArchive ; $ zares = $ za -> open ( $ file ) ; if ( $ zares === true ) { $ za -> extractTo ( $ destination ) ; $ za -> close ( ) ; return true ; } else { return false ; } }
Unzip a file into a directory using the ZipArchive class.

@param string $file The absolute path to a zip file.
@param string $destination The absolute path to the directory to unzip to file into.
@return bool Success/Failure.
Unzip a file into a directory using the ZipArchive class .