Lines Matching refs:fn_flags

76 	bool is_fake_closure = (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) != 0;  in zend_valid_closure_binding()
78 if (func->common.fn_flags & ZEND_ACC_STATIC) { in zend_valid_closure_binding()
93 && !(func->common.fn_flags & ZEND_ACC_STATIC)) { in zend_valid_closure_binding()
97 && (func->common.fn_flags & ZEND_ACC_USES_THIS)) { in zend_valid_closure_binding()
157 if (closure->func.common.fn_flags & ZEND_ACC_GENERATOR) { in ZEND_METHOD()
193 || (closure->func.common.fn_flags & ZEND_ACC_HEAP_RT_CACHE))) { in ZEND_METHOD()
196 my_function->op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in ZEND_METHOD()
205 if (fci_cache.function_handler->common.fn_flags & ZEND_ACC_HEAP_RT_CACHE) { in ZEND_METHOD()
296 fcc.function_handler = (EX(func)->internal_function.fn_flags & ZEND_ACC_STATIC) ? in ZEND_NAMED_FUNCTION()
340 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_create_closure_from_callable()
352 if (mptr->common.fn_flags & ZEND_ACC_STATIC) { in zend_create_closure_from_callable()
364 call.fn_flags = mptr->common.fn_flags & ZEND_ACC_STATIC; in zend_create_closure_from_callable()
430 …if (!((lhs->func.common.fn_flags & ZEND_ACC_FAKE_CLOSURE) && (rhs->func.common.fn_flags & ZEND_ACC… in zend_closure_compare()
476 invoke->internal_function.fn_flags = in zend_get_closure_invoke_method()
477 ZEND_ACC_PUBLIC | ZEND_ACC_CALL_VIA_HANDLER | (closure->func.common.fn_flags & keep_flags); in zend_get_closure_invoke_method()
478 …if (closure->func.type != ZEND_INTERNAL_FUNCTION || (closure->func.common.fn_flags & ZEND_ACC_USER… in zend_get_closure_invoke_method()
479 invoke->internal_function.fn_flags |= in zend_get_closure_invoke_method()
523 if (!(closure->func.op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) { in zend_closure_free_storage()
586 …bool zstr_args = (closure->func.type == ZEND_USER_FUNCTION) || (closure->func.common.fn_flags & ZE… in zend_closure_get_debug_info()
592 if (closure->func.op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE) { in zend_closure_get_debug_info()
649 (closure->func.common.fn_flags & ZEND_ACC_VARIADIC))) { in zend_closure_get_debug_info()
655 if (closure->func.common.fn_flags & ZEND_ACC_VARIADIC) { in zend_closure_get_debug_info()
691 && !(closure->func.op_array.fn_flags & ZEND_ACC_FAKE_CLOSURE)) ? in zend_closure_get_gc()
748 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure_ex()
749 closure->func.common.fn_flags &= ~ZEND_ACC_IMMUTABLE; in zend_create_closure_ex()
778 || (func->common.fn_flags & ZEND_ACC_HEAP_RT_CACHE) in zend_create_closure_ex()
781 && (func->common.fn_flags & ZEND_ACC_CLOSURE) in zend_create_closure_ex()
783 !(func->common.fn_flags & ZEND_ACC_IMMUTABLE))) { in zend_create_closure_ex()
791 closure->func.op_array.fn_flags &= ~ZEND_ACC_HEAP_RT_CACHE; in zend_create_closure_ex()
795 closure->func.op_array.fn_flags |= ZEND_ACC_HEAP_RT_CACHE; in zend_create_closure_ex()
802 closure->func.common.fn_flags |= ZEND_ACC_CLOSURE; in zend_create_closure_ex()
827 closure->func.common.fn_flags |= ZEND_ACC_PUBLIC; in zend_create_closure_ex()
828 …if (this_ptr && Z_TYPE_P(this_ptr) == IS_OBJECT && (closure->func.common.fn_flags & ZEND_ACC_STATI… in zend_create_closure_ex()
838 /* is_fake */ (func->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) != 0); in zend_create_closure()
848 closure->func.common.fn_flags |= ZEND_ACC_FAKE_CLOSURE; in zend_create_fake_closure()
864 if (mptr->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE) { in zend_closure_from_frame()
874 …trampoline.fn_flags = mptr->common.fn_flags & (ZEND_ACC_STATIC | ZEND_ACC_VARIADIC | ZEND_ACC_RETU… in zend_closure_from_frame()
879 if (trampoline.fn_flags & ZEND_ACC_VARIADIC) { in zend_closure_from_frame()