From: Dmitry Stogov Date: Wed, 12 Oct 2005 10:12:15 +0000 (+0000) Subject: Unicode support X-Git-Tag: RELEASE_0_9_1~140 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8ac7004ea781e301d1ebbbba7f9135c28cc2f605;p=php Unicode support --- diff --git a/Zend/zend.c b/Zend/zend.c index 8cafecfdc5..99c4bfde2d 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -465,7 +465,7 @@ ZEND_API void zend_make_unicode_zval(zval *expr, zval *expr_copy, int *use_copy) } } zend_error(EG(exception) ? E_ERROR : E_RECOVERABLE_ERROR, "Object of class %v could not be converted to string", Z_OBJCE_P(expr)->name); - ZVAL_EMPTY_STRING(expr_copy); + ZVAL_EMPTY_UNICODE(expr_copy); break; default: *expr_copy = *expr;