cvs: ZendEngine2 / zend_vm_def.h zend_vm_execute.h
| From: | Marcus Boerger | Date: | Mon, 10 Apr 2006 23:15:26 +0000 |
| Subject: | cvs: ZendEngine2 / zend_vm_def.h zend_vm_execute.h | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4802@lists.php.net to get a copy of this message | ||
helly Mon Apr 10 23:15:26 2006 UTC
Modified files:
/ZendEngine2 zend_vm_def.h zend_vm_execute.h
Log:
- Iterators from overloaded objects are allowed to not have keys...
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_vm_def.h?r1=1.108&r2=1.109&diff_format=u
Index: ZendEngine2/zend_vm_def.h
diff -u ZendEngine2/zend_vm_def.h:1.108 ZendEngine2/zend_vm_def.h:1.109
--- ZendEngine2/zend_vm_def.h:1.108 Thu Mar 16 15:42:54 2006
+++ ZendEngine2/zend_vm_def.h Mon Apr 10 23:15:26 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_vm_def.h,v 1.108 2006/03/16 15:42:54 dmitry Exp $ */
+/* $Id: zend_vm_def.h,v 1.109 2006/04/10 23:15:26 helly Exp $ */
/* If you change this file, please regenerate the zend_vm_execute.h and
* zend_vm_opcodes.h files by running:
@@ -3316,7 +3316,10 @@
Z_LVAL_P(key) = int_key;
Z_TYPE_P(key) = IS_LONG;
break;
- EMPTY_SWITCH_DEFAULT_CASE()
+ default:
+ case HASH_KEY_NON_EXISTANT:
+ ZVAL_NULL(key);
+ break;
}
}
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_vm_execute.h?r1=1.112&r2=1.113&diff_format=u
Index: ZendEngine2/zend_vm_execute.h
diff -u ZendEngine2/zend_vm_execute.h:1.112 ZendEngine2/zend_vm_execute.h:1.113
--- ZendEngine2/zend_vm_execute.h:1.112 Thu Mar 16 15:42:54 2006
+++ ZendEngine2/zend_vm_execute.h Mon Apr 10 23:15:26 2006
@@ -7854,7 +7854,10 @@
Z_LVAL_P(key) = int_key;
Z_TYPE_P(key) = IS_LONG;
break;
- EMPTY_SWITCH_DEFAULT_CASE()
+ default:
+ case HASH_KEY_NON_EXISTANT:
+ ZVAL_NULL(key);
+ break;
}
}