Searched refs:existing_fn (Results 1 – 1 of 1) sorted by relevance
1588 zend_function *existing_fn = NULL; in zend_add_trait_method() local1591 if ((existing_fn = zend_hash_find_ptr(&ce->function_table, key)) != NULL) { in zend_add_trait_method()1594 if (existing_fn->op_array.opcodes == fn->op_array.opcodes && in zend_add_trait_method()1595 … (existing_fn->common.fn_flags & ZEND_ACC_PPP_MASK) == (fn->common.fn_flags & ZEND_ACC_PPP_MASK) && in zend_add_trait_method()1596 (existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT) == ZEND_ACC_TRAIT) { in zend_add_trait_method()1608 existing_fn, fixup_trait_scope(existing_fn, ce), fn, fixup_trait_scope(fn, ce), in zend_add_trait_method()1613 if (existing_fn->common.scope == ce) { in zend_add_trait_method()1616 } else if (UNEXPECTED((existing_fn->common.scope->ce_flags & ZEND_ACC_TRAIT) in zend_add_trait_method()1617 && !(existing_fn->common.fn_flags & ZEND_ACC_ABSTRACT))) { in zend_add_trait_method()1622 ZSTR_VAL(existing_fn->common.scope->name), ZSTR_VAL(existing_fn->common.function_name)); in zend_add_trait_method()[all …]
Completed in 10 milliseconds