Lines Matching refs:fn_flags

69 	zend_bool is_fake_closure = (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) != 0;  in zend_valid_closure_binding()
71 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
85 } else if (!(func->common.fn_flags & ZEND_ACC_STATIC) && func->common.scope in zend_valid_closure_binding()
134 if (closure->func.common.fn_flags & ZEND_ACC_GENERATOR) { in ZEND_METHOD()
141 my_function.common.fn_flags &= ~ZEND_ACC_CLOSURE; in ZEND_METHOD()
168 if (fci_cache.function_handler->common.fn_flags & ZEND_ACC_GENERATOR) { in ZEND_METHOD()
237 fcc.function_handler = (EX(func)->internal_function.fn_flags & ZEND_ACC_STATIC) ? in ZEND_NAMED_FUNCTION()
270 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_create_closure_from_callable()
282 call.fn_flags = mptr->common.fn_flags & ZEND_ACC_STATIC; in zend_create_closure_from_callable()
362 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method()
363 ZEND_ACC_PUBLIC | ZEND_ACC_CALL_VIA_HANDLER | (closure->func.common.fn_flags & keep_flags); in zend_get_closure_invoke_method()
364 …if (closure->func.type != ZEND_INTERNAL_FUNCTION || (closure->func.common.fn_flags & ZEND_ACC_USER… in zend_get_closure_invoke_method()
365 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method()
442 if (closure->func.op_array.fn_flags & ZEND_ACC_NO_RT_ARENA) { in zend_closure_free_storage()
502 …zend_bool zstr_args = (closure->func.type == ZEND_USER_FUNCTION) || (closure->func.common.fn_flags in zend_closure_get_debug_info()
528 (closure->func.common.fn_flags & ZEND_ACC_VARIADIC))) { in zend_closure_get_debug_info()
534 if (closure->func.common.fn_flags & ZEND_ACC_VARIADIC) { in zend_closure_get_debug_info()
668 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
669 closure->func.common.fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_create_closure()
678 || (func->common.fn_flags & ZEND_ACC_NO_RT_ARENA) in zend_create_closure()
681 && (func->common.fn_flags & ZEND_ACC_CLOSURE) in zend_create_closure()
682 && !(func->common.fn_flags & ZEND_ACC_IMMUTABLE)) { in zend_create_closure()
691 closure->func.op_array.fn_flags |= ZEND_ACC_NO_RT_ARENA; in zend_create_closure()
700 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure()
724 closure->func.common.fn_flags |= ZEND_ACC_PUBLIC; in zend_create_closure()
725 …if (this_ptr && Z_TYPE_P(this_ptr) == IS_OBJECT && (closure->func.common.fn_flags & ZEND_ACC_STATI… in zend_create_closure()
739 closure->func.common.fn_flags |= ZEND_ACC_FAKE_CLOSURE; in zend_create_fake_closure()