1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

(PHP implode): Properly separate zval for another case.

This commit is contained in:
Andrei Zmievski
1999-10-15 14:53:56 +00:00
parent 231fe2e1aa
commit d69d118cbd
+2 -1
View File
@@ -307,8 +307,9 @@ PHP_FUNCTION(implode)
arr = *arg1;
delim = *arg2;
} else if ((*arg2)->type == IS_ARRAY) {
convert_to_string_ex(arg1);
SEPARATE_ZVAL(arg2)
arr = *arg2;
convert_to_string_ex(arg1);
delim = *arg1;
} else {
php_error(E_WARNING, "Bad arguments to %s()",