From: Sterling Hughes Date: Wed, 21 May 2003 16:52:09 +0000 (+0000) Subject: make brian happy X-Git-Tag: RELEASE_1_0_2~656 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8d5c30c14b16de37823662804dfd5040ee503f44;p=php make brian happy --- diff --git a/ext/standard/string.c b/ext/standard/string.c index ae9f8da38d..020eb430b3 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -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) {