From 1b8ee02fd676644bf938b97c390959f5a432bbda Mon Sep 17 00:00:00 2001 From: Sterling Hughes Date: Fri, 18 Aug 2000 13:22:09 +0000 Subject: [PATCH] Fix #6234 --- ext/standard/string.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.50.1