I need to open a ZIP archive, check the file size of each file inside the archive and return an array with the numeric values (sizes). I don't want the archive to be extracted to check the file sizes, possibly.
I tried a lot myself, but no ZIP function seems to have a feature like that and I couldn't think of any combination to write the function myself.
ZipArchive::statIndex()
is what you're looking for, if you just need to collect information about the archived files. – Grave