cvs: ZendEngine2 / zend.c
| From: | Antony Dovgal | Date: | Sat, 28 Apr 2007 12:05:19 +0000 |
| Subject: | cvs: ZendEngine2 / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5759@lists.php.net to get a copy of this message | ||
tony2001 Sat Apr 28 12:05:19 2007 UTC
Modified files:
/ZendEngine2 zend.c
Log:
this case is handled in convert_to_unicode(), no need to duplicate it
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend.c?r1=1.396&r2=1.397&diff_format=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.396 ZendEngine2/zend.c:1.397
--- ZendEngine2/zend.c:1.396 Thu Apr 26 19:08:24 2007
+++ ZendEngine2/zend.c Sat Apr 28 12:05:19 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.396 2007/04/26 19:08:24 tony2001 Exp $ */
+/* $Id: zend.c,v 1.397 2007/04/28 12:05:19 tony2001 Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -462,10 +462,6 @@
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);