Skip to content

Commit ca82476

Browse files
committed
Merge branch 'PHP-8.0'
* PHP-8.0: Fix zip build
2 parents cc86f70 + 1c2e7b4 commit ca82476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zip/php_zip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2765,7 +2765,7 @@ PHP_METHOD(ZipArchive, extractTo)
27652765
}
27662766
for (i = 0; i < nelems; i++) {
27672767
zval *zval_file;
2768-
if ((zval_file = zend_hash_index_find_deref(Z_ARRVAL_P(zval_files), i)) != NULL) {
2768+
if ((zval_file = zend_hash_index_find_deref(files_ht, i)) != NULL) {
27692769
switch (Z_TYPE_P(zval_file)) {
27702770
case IS_LONG:
27712771
break;

0 commit comments

Comments
 (0)