summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2002-10-10 10:07:22 +0000
committerStanislav Malyshev <stas@php.net>2002-10-10 10:07:22 +0000
commitf45d2f92251fb675ebab99b4c80e38828acba3ae (patch)
treebaa3dc6333ced094817947e7dd91701aa5def733
parent98ad93fb6d55bdf7212f26d851482bd6fa156873 (diff)
downloadphp-git-f45d2f92251fb675ebab99b4c80e38828acba3ae.tar.gz
add comment
-rw-r--r--Zend/zend_object_handlers.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c
index a3877d72df..b51b42b12e 100644
--- a/Zend/zend_object_handlers.c
+++ b/Zend/zend_object_handlers.c
@@ -215,6 +215,7 @@ static void zend_std_write_property(zval *object, zval *member, zval *value TSRM
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);