summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
authorSterling Hughes <sterling@php.net>2000-08-18 13:22:09 +0000
committerSterling Hughes <sterling@php.net>2000-08-18 13:22:09 +0000
commit1b8ee02fd676644bf938b97c390959f5a432bbda (patch)
tree42cbf24086afa4a36a8a8795ed2ace4fe7ea6d28 /ext/standard/string.c
parentc1ceeaf830ea03d9f3dcc24e563ecb2ca0660eba (diff)
downloadphp-git-1b8ee02fd676644bf938b97c390959f5a432bbda.tar.gz
Fix #6234
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r--ext/standard/string.c1
1 files changed, 1 insertions, 0 deletions
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)