Lines Matching refs:fn_flags

68 			new_function->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED;  in zend_duplicate_function()
143 …if (ce->parent->constructor && UNEXPECTED(ce->parent->constructor->common.fn_flags & ZEND_ACC_FINA… in do_inherit_parent_constructor()
155 char *zend_visibility_string(uint32_t fn_flags) /* {{{ */ in zend_visibility_string() argument
157 if (fn_flags & ZEND_ACC_PRIVATE) { in zend_visibility_string()
160 if (fn_flags & ZEND_ACC_PROTECTED) { in zend_visibility_string()
163 if (fn_flags & ZEND_ACC_PUBLIC) { in zend_visibility_string()
279 if ((fe->common.fn_flags & ZEND_ACC_CTOR) in zend_do_perform_implementation_check()
281 && (proto->common.fn_flags & ZEND_ACC_ABSTRACT) == 0)) { in zend_do_perform_implementation_check()
286 if (proto->common.fn_flags & ZEND_ACC_PRIVATE) { in zend_do_perform_implementation_check()
297 if ((proto->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) in zend_do_perform_implementation_check()
298 && !(fe->common.fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_do_perform_implementation_check()
302 if ((proto->common.fn_flags & ZEND_ACC_VARIADIC) in zend_do_perform_implementation_check()
303 && !(fe->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_do_perform_implementation_check()
312 if (proto->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_do_perform_implementation_check()
316 if (fe->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_do_perform_implementation_check()
359 if (proto->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_do_perform_implementation_check()
361 if (!(fe->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_do_perform_implementation_check()
432 if (fptr->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE) { in zend_get_function_declaration()
451 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_get_function_declaration()
539 if (fptr->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_get_function_declaration()
552 uint32_t parent_flags = parent->common.fn_flags; in do_inheritance_check_on_method()
558 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
562 if (child->common.fn_flags & ZEND_ACC_STATIC) { in do_inheritance_check_on_method()
582 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
585 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
591 child->common.fn_flags |= ZEND_ACC_IMPLEMENTED_ABSTRACT; in do_inheritance_check_on_method()
593 …} else if (!(parent->common.fn_flags & ZEND_ACC_CTOR) || (parent->common.prototype && (parent->com… in do_inheritance_check_on_method()
597 if (parent->common.fn_flags & ZEND_ACC_CTOR) { in do_inheritance_check_on_method()
609 child->common.prototype->common.fn_flags & ZEND_ACC_ABSTRACT in do_inheritance_check_on_method()
613 } else if ((parent->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) && in do_inheritance_check_on_method()
614 (!(child->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) || in do_inheritance_check_on_method()
652 if (parent->common.fn_flags & (ZEND_ACC_ABSTRACT)) { in do_inherit_method()
1087 uint32_t fn_flags = fn->common.scope->ce_flags; in zend_traits_method_compatibility_check() local
1091 && ((fn_flags & (ZEND_ACC_FINAL|ZEND_ACC_STATIC)) == in zend_traits_method_compatibility_check()
1104 ce->constructor = fe; fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1106 ce->destructor = fe; fe->common.fn_flags |= ZEND_ACC_DTOR; in zend_add_magic_methods()
1135 fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1153 if (existing_fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_add_trait_method()
1161 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_add_trait_method()
1177 } else if (existing_fn->common.fn_flags & ZEND_ACC_ABSTRACT && in zend_add_trait_method()
1185 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_add_trait_method()
1216 new_fn->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED; in zend_add_trait_method()
1232 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_fixup_trait_method()
1262 …fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags ^ (fn->common.fn_flags & ZEND_AC… in zend_traits_copy_functions()
1295 …fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags ^ (fn->common.fn_flags & ZEND_AC… in zend_traits_copy_functions()