cvs: ZendEngine2 / zend_execute.c
| From: | Antony Dovgal | Date: | Fri, 04 May 2007 11:48:08 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-5774@lists.php.net to get a copy of this message | ||
tony2001 Fri May 4 11:48:08 2007 UTC
Modified files:
/ZendEngine2 zend_execute.c
Log:
fix arrays with NULL keys in Unicode mode
http://cvs.php.net/viewvc.cgi/ZendEngine2/zend_execute.c?r1=1.762&r2=1.763&diff_format=u
Index: ZendEngine2/zend_execute.c
diff -u ZendEngine2/zend_execute.c:1.762 ZendEngine2/zend_execute.c:1.763
--- ZendEngine2/zend_execute.c:1.762 Mon Apr 16 09:43:52 2007
+++ ZendEngine2/zend_execute.c Fri May 4 11:48:08 2007
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute.c,v 1.762 2007/04/16 09:43:52 dmitry Exp $ */
+/* $Id: zend_execute.c,v 1.763 2007/05/04 11:48:08 tony2001 Exp $ */
#define ZEND_INTENSIVE_DEBUGGING 0
@@ -926,8 +926,8 @@
switch (ztype) {
case IS_NULL:
- ztype = IS_STRING;
- offset_key.s = "";
+ ztype = ZEND_STR_TYPE;
+ offset_key = EMPTY_ZSTR;
offset_key_length = 0;
goto fetch_string_dim;