cvs: ZendEngine2 / zend_object_handlers.c
| From: | Stanislav Malyshev | Date: | Thu, 10 Oct 2002 10:07:22 +0000 |
| Subject: | cvs: ZendEngine2 / zend_object_handlers.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-484@lists.php.net to get a copy of this message | ||
stas Thu Oct 10 06:07:22 2002 EDT
Modified files:
/ZendEngine2 zend_object_handlers.c
Log:
add comment
Index: ZendEngine2/zend_object_handlers.c
diff -u ZendEngine2/zend_object_handlers.c:1.18 ZendEngine2/zend_object_handlers.c:1.19
--- ZendEngine2/zend_object_handlers.c:1.18 Thu Oct 10 05:57:56 2002
+++ ZendEngine2/zend_object_handlers.c Thu Oct 10 06:07:22 2002
@@ -215,6 +215,7 @@
to the same pointer */
if (PZVAL_IS_REF(*variable_ptr)) {
zval_dtor(*variable_ptr); /* old value should be destroyed */
+ /* To check: can't *variable_ptr be some system variable like error_zval here? */
(*variable_ptr)->type = value->type;
(*variable_ptr)->value = value->value;
zval_copy_ctor(*variable_ptr);