]> granicus.if.org Git - php/commitdiff
make brian happy
authorSterling Hughes <sterling@php.net>
Wed, 21 May 2003 16:52:09 +0000 (16:52 +0000)
committerSterling Hughes <sterling@php.net>
Wed, 21 May 2003 16:52:09 +0000 (16:52 +0000)
ext/standard/string.c

index ae9f8da38d05c0e0f4a7ce6c80d629b0c4f63622..020eb430b33b1d758b03be5bf67d74b6fe231638 100644 (file)
@@ -836,8 +836,7 @@ PHPAPI void php_implode(zval *delim, zval *arr, zval *return_value)
        zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(arr), &pos);
 
        while (zend_hash_get_current_data_ex(Z_ARRVAL_P(arr), (void **) &tmp, &pos) == SUCCESS) {
-               SEPARATE_ZVAL(tmp);
-               convert_to_string(*tmp);
+               convert_to_string_ex(tmp);
 
                smart_str_appendl(&implstr, Z_STRVAL_PP(tmp), Z_STRLEN_PP(tmp));
                if (++i != numelems) {