cvs: ZendEngine2 / zend.c
| From: | Dmitry Stogov | Date: | Wed, 12 Oct 2005 10:12:18 +0000 |
| Subject: | cvs: ZendEngine2 / zend.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4237@lists.php.net to get a copy of this message | ||
dmitry Wed Oct 12 06:12:18 2005 EDT
Modified files:
/ZendEngine2 zend.c
Log:
Unicode support
http://cvs.php.net/diff.php/ZendEngine2/zend.c?r1=1.325&r2=1.326&ty=u
Index: ZendEngine2/zend.c
diff -u ZendEngine2/zend.c:1.325 ZendEngine2/zend.c:1.326
--- ZendEngine2/zend.c:1.325 Wed Oct 5 15:02:27 2005
+++ ZendEngine2/zend.c Wed Oct 12 06:12:15 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend.c,v 1.325 2005/10/05 19:02:27 helly Exp $ */
+/* $Id: zend.c,v 1.326 2005/10/12 10:12:15 dmitry Exp $ */
#include "zend.h"
#include "zend_extensions.h"
@@ -465,7 +465,7 @@
}
}
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;