[php-src] Issue #11520: Compatibility with libzip 1.10.0
| From: | andypost | Date: | Sat, 24 Jun 2023 04:13:37 +0000 |
| Subject: | [php-src] Issue #11520: Compatibility with libzip 1.10.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-244804@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/11520
Author: andypost
### Description
The following test
ext/zip/tests/oo_getstreamindex.phpt
Resulted in this output:
```
[1;32mPASS[0m This test will test getStatusString method in ZipArchive
[ext/zip/tests/oo_getstatusstring.phpt]
TEST 15667/16126 [ext/zip/tests/oo_getstreamindex.phpt]
========DIFF========
--
int(0)
string(3) "foo"
== Index, changed
[1;32m008+ int(0)[0m
[1;31m008- int(15)[0m
== Index, unchanged
int(0)
string(3) "bar"
--
========DONE========
[1;31mFAIL[0m ZipArchive::getStreamIndex / ZipArchive::getName
[ext/zip/tests/oo_getstreamindex.phpt]
```
But it was passed before upgrade libzip to [1.10.0](https://libzip.org/news/release-1.10.0.html)
### PHP Version
PHP 8.2.7
### Operating System
Alpinelinux