Reputation: 4897
How can I get the official source code for the PHP ZipArchive class?
Upvotes: 2
Views: 6269
Reputation: 522470
Assuming you're talking about the PHP ZipArchive class: download the PHP source code and look for the appropriate file. You may be disappointed if you expect the source code to be PHP code because the source code is written in C Language.
Alternatively, PHP source code can also be found on PHP Github Development Repository.
You can also take a look at the Examples folder for usage.
Upvotes: 6