From: Antony Dovgal Date: Sat, 28 Apr 2007 12:05:19 +0000 (+0000) Subject: this case is handled in convert_to_unicode(), no need to duplicate it X-Git-Tag: RELEASE_1_2_0~199 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0e240e2df168a950f66c797aad76c084dbeea262;p=php this case is handled in convert_to_unicode(), no need to duplicate it --- diff --git a/Zend/zend.c b/Zend/zend.c index 51ad522751..bc3567ef73 100644 --- a/Zend/zend.c +++ b/Zend/zend.c @@ -462,10 +462,6 @@ 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_UNICODE(expr_copy); break; - case IS_ARRAY: - Z_USTRLEN_P(expr_copy) = sizeof("Array")-1; - Z_USTRVAL_P(expr_copy) = zend_ascii_to_unicode("Array", sizeof("Array") ZEND_FILE_LINE_CC); - break; default: *expr_copy = *expr; zval_copy_ctor(expr_copy);