com php-src: a todo: Zend/zend_inheritance.c
| From: | Bob Weinand | Date: | Mon, 07 Mar 2016 07:40:15 +0000 |
| Subject: | com php-src: a todo: Zend/zend_inheritance.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-95630@lists.php.net to get a copy of this message | ||
Commit: 027f0a1e2bb6c39414b7ab8db913b7a8346d25a9
Author: Joe Watkins <krakjoe@php.net> Mon, 7 Mar 2016 07:40:15 +0000
Parents: 0f265a3ae1e1de32248e2e8c49a0d14a3123cc46
Branches: typed_ref_properties
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=027f0a1e2bb6c39414b7ab8db913b7a8346d25a9
Log:
a todo
Changed paths:
M Zend/zend_inheritance.c
Diff:
diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c
index c6f1bd0..bebc27e 100644
--- a/Zend/zend_inheritance.c
+++ b/Zend/zend_inheritance.c
@@ -628,6 +628,7 @@ static void do_inherit_property(zend_property_info *parent_info, zend_string *ke
if (UNEXPECTED(parent_info->type)) {
/* TODO(krakjoe) comparing strings feels wrong */
+ /* TODO(krakjoe) handle self, parent, static */
if (parent_info->type == IS_OBJECT) {
if (child_info->type != IS_OBJECT ||
!zend_string_equals_ci(parent_info->type_name, child_info->type_name)) {