php8.5
Home/ Manual/ zip / ziparchive/ ZipArchive::count

ZipArchive::count

PHP function Edit on GitHub ✎

(PHP 7 >= 7.2.0, PHP 8, PECL zip >= 1.15.0)

Counts the number of files in the archive

Description

ZipArchive::count(): int

Parameters Parameters

Return Values

Returns the number of files in the archive.

Source: reference/zip/ziparchive/count.xml · from the official PHP manual (php/doc-en)