Skip to content

Commit 15b9963

Browse files
committed
standard: Use specialised macro in array_merge()
1 parent 3e982a8 commit 15b9963

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/array.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4311,7 +4311,7 @@ static zend_always_inline void php_array_merge_wrapper(INTERNAL_FUNCTION_PARAMET
43114311
bool copy = 1;
43124312
zend_string *string_key;
43134313

4314-
ZEND_HASH_FOREACH_STR_KEY(Z_ARRVAL_P(ret), string_key) {
4314+
ZEND_HASH_MAP_FOREACH_STR_KEY(Z_ARRVAL_P(ret), string_key) {
43154315
if (!string_key) {
43164316
copy = 0;
43174317
break;

0 commit comments

Comments
 (0)