(PHP 5 >= 5.2.0, PHP 7, PHP 8, PECL zip >= 1.1.0)
Um arquivo compactado com Zip.
$filepath,$entryname = "",$start = 0,$length = ZipArchive::LENGTH_TO_END,$flags = ZipArchive::FL_OVERWRITE$name, string $content, int $flags = ZipArchive::FL_OVERWRITE): bool$index,&$opsys,&$attr,$flags = 0$name,&$opsys,&$attr,$flags = 0$filepath,$index,$start = 0,$length = ZipArchive::LENGTH_TO_END,$flags = 0$index, int $method, #[\SensitiveParameter] ?string $password = null): bool$name, int $method, #[\SensitiveParameter] ?string $password = null): bool$index,$opsys,$attr,$flags = 0Valor do índice da última entrada adicionada (arquivo ou diretório). Disponível a partir do PHP 8.0.0 e PECL zip 1.18.0.
Status do arquivo Zip. Disponível para arquivos fechados, a partir do PHP 8.0.0 e PECL zip 1.18.0.
Status do sistema do arquivo Zip. Disponível para arquivos fechados, a partir do PHP 8.0.0 e PECL zip 1.18.0.
Número de arquivos no arquivo Zip
Nome do arquivo no sistema de arquivos
Comentário para o arquivo Zip