From: Moriyoshi Koizumi Date: Fri, 15 Nov 2002 02:16:41 +0000 (+0000) Subject: Fixed bug #20381 X-Git-Tag: BEFORE_RENAMING~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb20eae7fc81088f3d8e8b3f4f5ee497066d1227;p=php Fixed bug #20381 --- diff --git a/ext/standard/array.c b/ext/standard/array.c index a5226c52ab..821c71c5ea 100644 --- a/ext/standard/array.c +++ b/ext/standard/array.c @@ -2008,6 +2008,7 @@ PHPAPI int php_array_merge(HashTable *dest, HashTable *src, int recursive TSRMLS get_active_function_name(TSRMLS_C)); return 0; } + SEPARATE_ZVAL(dest_entry); convert_to_array_ex(dest_entry); convert_to_array_ex(src_entry); if (!php_array_merge(Z_ARRVAL_PP(dest_entry),