cvs: ZendEngine2 / zend_compile.c
| From: | Stanislav Malyshev | Date: | Thu, 05 Sep 2002 17:34:16 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-405@lists.php.net to get a copy of this message | ||
stas Thu Sep 5 13:34:16 2002 EDT
Modified files:
/ZendEngine2 zend_compile.c
Log:
quick-n-dirty inheritance support for __handlers
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.303 ZendEngine2/zend_compile.c:1.304
--- ZendEngine2/zend_compile.c:1.303 Wed Sep 4 05:07:58 2002
+++ ZendEngine2/zend_compile.c Thu Sep 5 13:34:16 2002
@@ -1503,6 +1503,9 @@
function_add_ref(function);
}
ce->constructor = ce->parent->constructor;
+ ce->__get = ce->parent->__get;
+ ce->__set = ce->parent->__set;
+ ce->__call = ce->parent->__call;
}
void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce)