-
-
Save GHJayce/853c78fe72fc02658ed559f8dbe7ad97 to your computer and use it in GitHub Desktop.
php zip operate
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $filePath = '/Users/jayce/Desktop/test.zip'; | |
| $archive = \new ZipArchive(); | |
| $archive->open($filePath); | |
| $archive->extraceTo($saveDirPath); | |
| $archive->close(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment