diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 13:41:45 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-02-03 13:42:08 +0100 |
commit | 169805777c17892865ae462ae0a0895344a7fd3c (patch) | |
tree | 715ab54d18d387e0f2fec607a97462af525f2556 /ext/zip/examples/oldapi.php | |
parent | 6b38251820be4ab2eb38c55d41c6680d0bff83f3 (diff) | |
parent | 58b17906f512866c2e34844fa497ecdf7f1e1e3d (diff) | |
download | php-git-169805777c17892865ae462ae0a0895344a7fd3c.tar.gz |
Merge branch 'PHP-7.4'
* PHP-7.4:
Apply tidy formatting
Diffstat (limited to 'ext/zip/examples/oldapi.php')
-rw-r--r-- | ext/zip/examples/oldapi.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ext/zip/examples/oldapi.php b/ext/zip/examples/oldapi.php index 82a6277f3a..216de4837e 100644 --- a/ext/zip/examples/oldapi.php +++ b/ext/zip/examples/oldapi.php @@ -4,14 +4,14 @@ $zip = zip_open('examples/test1.zip'); var_dump($zip); if ($zip) { - $i = 0; - while ($zip_entry = zip_read($zip)) { - var_dump($zip_entry); - $txt = zip_entry_read($zip_entry, 10); + $i = 0; + while ($zip_entry = zip_read($zip)) { + var_dump($zip_entry); + $txt = zip_entry_read($zip_entry, 10); echo $i . ": " . $txt . "size: " . zip_entry_filesize($zip_entry) . - "comp_method: " . zip_entry_compressionmethod($zip_entry) . - "\n"; - $i++; - } - var_dump($zip_entry); + "comp_method: " . zip_entry_compressionmethod($zip_entry) . + "\n"; + $i++; + } + var_dump($zip_entry); } |