diff options
author | Antony Dovgal <tony2001@php.net> | 2007-04-28 12:05:19 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2007-04-28 12:05:19 +0000 |
commit | 0e240e2df168a950f66c797aad76c084dbeea262 (patch) | |
tree | 946e692d420a0ce73175409de959cd86e286443f /Zend/zend.c | |
parent | 7b0e0787f86437c097453f337c9d82dd05cc500c (diff) | |
download | php-git-0e240e2df168a950f66c797aad76c084dbeea262.tar.gz |
this case is handled in convert_to_unicode(), no need to duplicate it
Diffstat (limited to 'Zend/zend.c')
-rw-r--r-- | Zend/zend.c | 4 |
1 files changed, 0 insertions, 4 deletions
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); |