(PHP 5 >= 5.2.0, PHP 7, PECL zip >= 1.1.0)
Adds a file to a ZIP archive from the given path
bool ZipArchive::addFile ( string $filename [, string $localname = NULL [, int $start = 0 [, int $length = 0 ]]] )
Adds a file to a ZIP archive from a given path.
Parameters:
filename
The path to the file to add.
localname
If supplied, t