diff options
author | Sterling Hughes <sterling@php.net> | 2003-05-21 16:52:09 +0000 |
---|---|---|
committer | Sterling Hughes <sterling@php.net> | 2003-05-21 16:52:09 +0000 |
commit | 8d5c30c14b16de37823662804dfd5040ee503f44 (patch) | |
tree | 1458966ca6859cc616c3d0a9c38685ab59b61e42 /ext/standard/string.c | |
parent | ff36043d142d4a4545bbf8cabfdf2825a8cc0685 (diff) | |
download | php-git-8d5c30c14b16de37823662804dfd5040ee503f44.tar.gz |
make brian happy
Diffstat (limited to 'ext/standard/string.c')
-rw-r--r-- | ext/standard/string.c | 3 |
1 files changed, 1 insertions, 2 deletions
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) { |