Lines Matching refs:existing_fn
1875 zend_function *existing_fn = NULL; in zend_add_trait_method() local
1879 if ((existing_fn = zend_hash_find_ptr(&ce->function_table, key)) != NULL) { in zend_add_trait_method()
1882 if (existing_fn->op_array.opcodes == fn->op_array.opcodes && in zend_add_trait_method()
1883 … (existing_fn->common.fn_flags & ZEND_ACC_PPP_MASK) == (fn->common.fn_flags & ZEND_ACC_PPP_MASK) && in zend_add_trait_method()
1884 (existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) { in zend_add_trait_method()
1896 existing_fn, fixup_trait_scope(existing_fn, ce), fn, fixup_trait_scope(fn, ce), in zend_add_trait_method()
1901 if (existing_fn->common.scope == ce) { in zend_add_trait_method()
1904 } else if (UNEXPECTED((existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT) in zend_add_trait_method()
1905 && !(existing_fn->common.fn_flags & ZEND_ACC_ABSTRACT))) { in zend_add_trait_method()
1910 ZSTR_VAL(existing_fn->common.scope->name), ZSTR_VAL(existing_fn->common.function_name)); in zend_add_trait_method()
1937 if (!(existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_add_trait_method()
1941 fn, fixup_trait_scope(fn, ce), existing_fn, fixup_trait_scope(existing_fn, ce), in zend_add_trait_method()