Lines Matching refs:num_traits
3943 zend_uint current_trait_num = ce->num_traits; in zend_do_implement_trait()
3944 zend_uint parent_trait_num = ce->parent ? ce->parent->num_traits : 0; in zend_do_implement_trait()
3946 for (i = 0; i < ce->num_traits; i++) { in zend_do_implement_trait()
3948 memmove(ce->traits + i, ce->traits + i + 1, sizeof(zend_class_entry*) * (--ce->num_traits - i)); in zend_do_implement_trait()
3957 if (ce->num_traits >= current_trait_num) { in zend_do_implement_trait()
3964 ce->traits[ce->num_traits++] = trait; in zend_do_implement_trait()
4208 for (i = 0; i < ce->num_traits; i++) { in zend_check_trait_usage()
4353 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_method_binding()
4431 for (i = 0; i < ce->num_traits; i++) { in zend_do_traits_property_binding()
4565 if (ce->num_traits <= 0) { in zend_do_bind_traits()
5279 if (ce->num_traits > 0) { in zend_do_end_class_declaration()
5283 ce->num_traits = 0; in zend_do_end_class_declaration()
5373 CG(active_class_entry)->num_traits++; in zend_do_use_trait()
7003 ce->num_traits = 0; in zend_initialize_class_data()