cvs: ZendEngine2 / zend_execute_API.c
| From: | Marcus Boerger | Date: | Sat, 12 Feb 2005 16:38:48 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-3385@lists.php.net to get a copy of this message | ||
helly Sat Feb 12 11:38:48 2005 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
- Bugfix #30682 (autoconversion from false/true to 0/1 missing in case of
static property default value)
http://cvs.php.net/diff.php/ZendEngine2/zend_execute_API.c?r1=1.309&r2=1.310&ty=u
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.309 ZendEngine2/zend_execute_API.c:1.310
--- ZendEngine2/zend_execute_API.c:1.309 Wed Feb 2 05:36:02 2005
+++ ZendEngine2/zend_execute_API.c Sat Feb 12 11:38:47 2005
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.309 2005/02/02 10:36:02 stas Exp $ */
+/* $Id: zend_execute_API.c,v 1.310 2005/02/12 16:38:47 helly Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -498,6 +498,7 @@
case IS_STRING:
zend_symtable_update(p->value.ht, const_value.value.str.val, const_value.value.str.len+1,
&new_val, sizeof(zval *), NULL);
break;
+ case IS_BOOL:
case IS_LONG:
zend_hash_index_update(p->value.ht, const_value.value.lval, &new_val, sizeof(zval *),
NULL);
break;