diff options
Diffstat (limited to 'Zend/zend_compile.c')
-rw-r--r-- | Zend/zend_compile.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index d1a90517d3..1f1896572e 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1575,9 +1575,6 @@ static zend_bool do_inherit_method_check(zend_function *child, zend_function *pa zend_uint child_flags = child->common.fn_flags; zend_uint parent_flags = parent->common.fn_flags; - /* we do not inherit private methods */ -/* assert(!(parent_flags & ZEND_ACC_PRIVATE)); */ - /* You cannot change from static to non static and vice versa. */ if ((child_flags & ZEND_ACC_STATIC) != (parent_flags & ZEND_ACC_STATIC)) { |