Lines Matching refs:fn_flags

102 		new_function->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED;  in zend_duplicate_internal_function()
184 if (parent->constructor && UNEXPECTED(parent->constructor->common.fn_flags & ZEND_ACC_FINAL)) { in do_inherit_parent_constructor()
196 char *zend_visibility_string(uint32_t fn_flags) /* {{{ */ in zend_visibility_string() argument
198 if (fn_flags & ZEND_ACC_PUBLIC) { in zend_visibility_string()
200 } else if (fn_flags & ZEND_ACC_PRIVATE) { in zend_visibility_string()
203 ZEND_ASSERT(fn_flags & ZEND_ACC_PROTECTED); in zend_visibility_string()
759 ZEND_ASSERT(!((fe->common.fn_flags & ZEND_ACC_CTOR) in zend_do_perform_implementation_check()
761 && (proto->common.fn_flags & ZEND_ACC_ABSTRACT) == 0))); in zend_do_perform_implementation_check()
765 ZEND_ASSERT(!(proto->common.fn_flags & ZEND_ACC_PRIVATE) in zend_do_perform_implementation_check()
766 || (proto->common.fn_flags & ZEND_ACC_ABSTRACT)); in zend_do_perform_implementation_check()
774 if ((proto->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) in zend_do_perform_implementation_check()
775 && !(fe->common.fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_do_perform_implementation_check()
779 proto_is_variadic = (proto->common.fn_flags & ZEND_ACC_VARIADIC) != 0; in zend_do_perform_implementation_check()
780 fe_is_variadic = (fe->common.fn_flags & ZEND_ACC_VARIADIC) != 0; in zend_do_perform_implementation_check()
830 if (proto->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_do_perform_implementation_check()
832 if (!(fe->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_do_perform_implementation_check()
877 if (fptr->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE) { in zend_get_function_declaration()
900 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_get_function_declaration()
999 if (fptr->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_get_function_declaration()
1092 uint32_t parent_flags = parent->common.fn_flags; in do_inheritance_check_on_method()
1109 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
1124 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
1157 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
1166 if (!(proto->common.fn_flags & ZEND_ACC_ABSTRACT)) { in do_inheritance_check_on_method()
1218 if (is_interface || (parent->common.fn_flags & (ZEND_ACC_ABSTRACT))) { in do_inherit_method()
1883 … (existing_fn->common.fn_flags & ZEND_ACC_PPP_MASK) == (fn->common.fn_flags & ZEND_ACC_PPP_MASK) && in zend_add_trait_method()
1889 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_add_trait_method()
1905 && !(existing_fn->common.fn_flags & ZEND_ACC_ABSTRACT))) { in zend_add_trait_method()
1919 new_fn->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED; in zend_add_trait_method()
1923 new_fn->op_array.fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_add_trait_method()
1925 new_fn->common.fn_flags |= ZEND_ACC_TRAIT_CLONE; in zend_add_trait_method()
1953 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_fixup_trait_method()
1985 fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags & ~ZEND_ACC_PPP_MASK); in zend_traits_copy_functions()
2013 fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags & ~ZEND_ACC_PPP_MASK); in zend_traits_copy_functions()
2506 if (func->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_verify_abstract_class()
2509 if (!is_explicit_abstract || (func->common.fn_flags & ZEND_ACC_PRIVATE)) { in zend_verify_abstract_class()
2771 new_op_array->fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_lazy_class_load()
3032 ZEND_ASSERT(ce->__tostring->common.fn_flags & ZEND_ACC_TRAIT_CLONE); in zend_do_link_class()