]> granicus.if.org Git - php/commitdiff
Fix #6234
authorSterling Hughes <sterling@php.net>
Fri, 18 Aug 2000 13:22:09 +0000 (13:22 +0000)
committerSterling Hughes <sterling@php.net>
Fri, 18 Aug 2000 13:22:09 +0000 (13:22 +0000)
ext/standard/string.c

index 2c415cc8f4c691072ad14da83d71c30da947025a..f89f4989ef445349084f60741e16f1ebda21fe1c 100644 (file)
@@ -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)