1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Merge branch 'PHP-8.0'

* PHP-8.0:
  Fix zip build
This commit is contained in:
Nikita Popov
2021-05-07 22:42:50 +02:00

View File

@@ -2765,7 +2765,7 @@ PHP_METHOD(ZipArchive, extractTo)
}
for (i = 0; i < nelems; i++) {
zval *zval_file;
if ((zval_file = zend_hash_index_find_deref(Z_ARRVAL_P(zval_files), i)) != NULL) {
if ((zval_file = zend_hash_index_find_deref(files_ht, i)) != NULL) {
switch (Z_TYPE_P(zval_file)) {
case IS_LONG:
break;