Skip to content

Commit 080aa68

Browse files
committed
fix traits
1 parent 43856d4 commit 080aa68

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Zend/zend_inheritance.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2538,6 +2538,7 @@ static void zend_do_traits_property_binding(zend_class_entry *ce, zend_class_ent
25382538
}
25392539
}
25402540
} ZEND_HASH_FOREACH_END();
2541+
ce->ce_flags |= traits[i]->ce_flags & ZEND_ACC_HAS_RC_PROPS;
25412542
}
25422543
}
25432544
/* }}} */

0 commit comments

Comments
 (0)