summaryrefslogtreecommitdiff
path: root/ext/zip/php_zip.c
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2020-09-11 00:23:54 +0200
committerMáté Kocsis <kocsismate@woohoolabs.com>2020-09-11 11:00:18 +0200
commitc98d47696f5e459e6a3efdfd7034357208284b84 (patch)
tree40800320921080cbb90cd28a2178eae0a0c7823e /ext/zip/php_zip.c
parenta59923befde4969eb619e90ed618a8eb89dcdef7 (diff)
downloadphp-git-c98d47696f5e459e6a3efdfd7034357208284b84.tar.gz
Consolidate new union type ZPP macro names
They will now follow the canonical order of types. Older macros are left intact due to maintaining BC. Closes GH-6112
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r--ext/zip/php_zip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c
index 6ebbc42858..96baabacd4 100644
--- a/ext/zip/php_zip.c
+++ b/ext/zip/php_zip.c
@@ -2724,7 +2724,7 @@ PHP_METHOD(ZipArchive, extractTo)
ZEND_PARSE_PARAMETERS_START(1, 2)
Z_PARAM_PATH(pathto, pathto_len)
Z_PARAM_OPTIONAL
- Z_PARAM_STR_OR_ARRAY_HT_OR_NULL(files_str, files_ht)
+ Z_PARAM_ARRAY_HT_OR_STR_OR_NULL(files_ht, files_str)
ZEND_PARSE_PARAMETERS_END();
ZIP_FROM_OBJECT(intern, self);