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()
265 if ((fe->common.fn_flags & ZEND_ACC_CTOR) in zend_do_perform_implementation_check()
267 && (proto->common.fn_flags & ZEND_ACC_ABSTRACT) == 0)) { in zend_do_perform_implementation_check()
272 if (proto->common.fn_flags & ZEND_ACC_PRIVATE) { in zend_do_perform_implementation_check()
283 if ((proto->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) in zend_do_perform_implementation_check()
284 && !(fe->common.fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_do_perform_implementation_check()
288 if ((proto->common.fn_flags & ZEND_ACC_VARIADIC) in zend_do_perform_implementation_check()
289 && !(fe->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_do_perform_implementation_check()
298 if (proto->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_do_perform_implementation_check()
302 if (fe->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_do_perform_implementation_check()
338 if (proto->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_do_perform_implementation_check()
340 if (!(fe->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_do_perform_implementation_check()
398 if (fptr->op_array.fn_flags & ZEND_ACC_RETURN_REFERENCE) { in zend_get_function_declaration()
417 if (fptr->common.fn_flags & ZEND_ACC_VARIADIC) { in zend_get_function_declaration()
507 if (fptr->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_get_function_declaration()
520 uint32_t parent_flags = parent->common.fn_flags; in do_inheritance_check_on_method()
523 && parent->common.fn_flags & ZEND_ACC_ABSTRACT in do_inheritance_check_on_method()
525 && child->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_IMPLEMENTED_ABSTRACT)) { in do_inheritance_check_on_method()
536 child_flags = child->common.fn_flags; in do_inheritance_check_on_method()
540 if (child->common.fn_flags & ZEND_ACC_STATIC) { in do_inheritance_check_on_method()
553 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
561 child->common.fn_flags |= ZEND_ACC_CHANGED; in do_inheritance_check_on_method()
568 child->common.fn_flags |= ZEND_ACC_IMPLEMENTED_ABSTRACT; in do_inheritance_check_on_method()
570 …} else if (!(parent->common.fn_flags & ZEND_ACC_CTOR) || (parent->common.prototype && (parent->com… in do_inheritance_check_on_method()
576 child->common.prototype->common.fn_flags & ZEND_ACC_ABSTRACT in do_inheritance_check_on_method()
587 child->common.prototype->common.fn_flags & ZEND_ACC_ABSTRACT in do_inheritance_check_on_method()
591 } else if ((parent->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) && in do_inheritance_check_on_method()
592 (!(child->common.fn_flags & ZEND_ACC_HAS_RETURN_TYPE) || in do_inheritance_check_on_method()
629 if (parent->common.fn_flags & (ZEND_ACC_ABSTRACT)) { in do_inherit_method()
1055 uint32_t fn_flags = fn->common.scope->ce_flags; in zend_traits_method_compatibility_check() local
1060 && ((fn_flags & (ZEND_ACC_FINAL|ZEND_ACC_STATIC)) == in zend_traits_method_compatibility_check()
1068 ce->clone = fe; fe->common.fn_flags |= ZEND_ACC_CLONE; in zend_add_magic_methods()
1073 ce->constructor = fe; fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1075 ce->destructor = fe; fe->common.fn_flags |= ZEND_ACC_DTOR; in zend_add_magic_methods()
1104 fe->common.fn_flags |= ZEND_ACC_CTOR; in zend_add_magic_methods()
1122 if (existing_fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_add_trait_method()
1129 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_add_trait_method()
1145 } else if (existing_fn->common.fn_flags & ZEND_ACC_ABSTRACT && in zend_add_trait_method()
1153 } else if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_add_trait_method()
1183 new_fn->common.fn_flags |= ZEND_ACC_ARENA_ALLOCATED; in zend_add_trait_method()
1195 if (fn->common.fn_flags & ZEND_ACC_ABSTRACT) { in zend_fixup_trait_method()
1225 …fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags ^ (fn->common.fn_flags & ZEND_AC… in zend_traits_copy_functions()
1258 …fn_copy.common.fn_flags = alias->modifiers | (fn->common.fn_flags ^ (fn->common.fn_flags & ZEND_AC… in zend_traits_copy_functions()