From: Sterling Hughes Date: Fri, 18 Aug 2000 13:22:09 +0000 (+0000) Subject: Fix #6234 X-Git-Tag: php-4.0.2RC1~73 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b8ee02fd676644bf938b97c390959f5a432bbda;p=php Fix #6234 --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 2c415cc8f4..f89f4989ef 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -487,6 +487,7 @@ PHP_FUNCTION(implode) if ((*arg1)->type == IS_ARRAY && (*arg2)->type == IS_STRING) { SEPARATE_ZVAL(arg1); arr = *arg1; + convert_to_string_ex(arg2); delim = *arg2; } else if ((*arg2)->type == IS_ARRAY) { SEPARATE_ZVAL(arg2)