Lines Matching refs:fn_flags
1537 if (CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_mark_function_as_generator()
1559 CG(active_op_array)->fn_flags |= ZEND_ACC_GENERATOR; in zend_mark_function_as_generator()
1703 if (CG(active_op_array)->fn_flags & ZEND_ACC_CLOSURE) { in zend_is_scope_known()
2715 bool returns_reference = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_emit_final_return()
2717 if ((CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) in zend_emit_final_return()
2718 && !(CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR)) { in zend_emit_final_return()
2990 if (op_array->fn_flags & ZEND_ACC_STATIC) { in this_guaranteed_exists()
2994 } else if (!(op_array->fn_flags & ZEND_ACC_CLOSURE)) { in this_guaranteed_exists()
3011 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_simple_var()
3141 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_delayed_compile_prop()
3762 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3782 if (arg_num == (uint32_t) -1 && (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3848 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_args()
3926 ZEND_ASSERT(!(fbc->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)); in zend_get_call_op()
3929 if (!(fbc->common.fn_flags & ZEND_ACC_DEPRECATED)) { in zend_get_call_op()
3937 if (!(fbc->common.fn_flags & ZEND_ACC_DEPRECATED)) { in zend_get_call_op()
4201 return !ZEND_USER_CODE(fbc->type) || (fbc->common.fn_flags & ZEND_ACC_DONE_PASS_TWO); in fbc_is_finalized()
4661 && (!(fbc->common.fn_flags & ZEND_ACC_VARIADIC) in find_frameless_function_info()
5228 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_method_call()
5264 if (fbc && !(fbc->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_FINAL))) { in zend_compile_method_call()
5287 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_PUBLIC) || ce == CG(active_class_entry)) { in zend_get_compatible_func_or_null()
5291 if (!(fbc->common.fn_flags & ZEND_ACC_PRIVATE) in zend_get_compatible_func_or_null()
5678 bool is_generator = (CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR) != 0; in zend_compile_return()
5679 bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return()
5699 if ((CG(active_op_array)->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) in zend_compile_return()
5711 if (!is_generator && (CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_compile_return()
6633 if (!(CG(active_op_array)->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK)) { in zend_compile_try()
6634 CG(active_op_array)->fn_flags |= ZEND_ACC_HAS_FINALLY_BLOCK; in zend_compile_try()
6897 CG(active_op_array)->fn_flags |= ZEND_ACC_STRICT_TYPES; in zend_compile_declare()
6937 …if (UNEXPECTED((func->common.fn_flags & ZEND_ACC_VARIADIC) && ZEND_ARG_SEND_MODE(&func->common.arg… in zend_set_function_arg_flags()
7389 uint32_t flags = (CG(active_op_array)->fn_flags & ZEND_ACC_STRICT_TYPES) in zend_compile_attributes()
7554 … (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0, /* is_variadic */ 0, /* is_tentative */ 0); in zend_compile_params()
7559 op_array->fn_flags |= ZEND_ACC_HAS_RETURN_TYPE; in zend_compile_params()
7562 && (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_compile_params()
7619 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
7626 op_array->fn_flags |= ZEND_ACC_VARIADIC; in zend_compile_params()
7663 op_array->fn_flags |= ZEND_ACC_HAS_TYPE_HINTS; in zend_compile_params()
7741 if ((op_array->fn_flags & ZEND_ACC_ABSTRACT) in zend_compile_params()
7811 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
8054 uint32_t fn_flags = op_array->fn_flags; in zend_begin_method_decl() local
8058 if (fn_flags & ZEND_ACC_READONLY) { in zend_begin_method_decl()
8062 if ((fn_flags & ZEND_ACC_PRIVATE) && (fn_flags & ZEND_ACC_FINAL) && !zend_is_constructor(name)) { in zend_begin_method_decl()
8066 if ((fn_flags & ZEND_ACC_ABSTRACT) in zend_begin_method_decl()
8083 if (!(fn_flags & ZEND_ACC_PUBLIC)) { in zend_begin_method_decl()
8087 if (fn_flags & ZEND_ACC_FINAL) { in zend_begin_method_decl()
8091 op_array->fn_flags |= ZEND_ACC_ABSTRACT; in zend_begin_method_decl()
8094 if (op_array->fn_flags & ZEND_ACC_ABSTRACT) { in zend_begin_method_decl()
8095 if ((op_array->fn_flags & ZEND_ACC_PRIVATE) && !(ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_begin_method_decl()
8146 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
8156 if (CG(active_op_array)->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
8213 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
8252 op_array->fn_flags |= ZEND_ACC_PRELOADED; in zend_compile_func_decl_ex()
8255 op_array->fn_flags |= (orig_op_array->fn_flags & ZEND_ACC_STRICT_TYPES); in zend_compile_func_decl_ex()
8256 op_array->fn_flags |= decl->flags; in zend_compile_func_decl_ex()
8264 op_array->fn_flags |= ZEND_ACC_CLOSURE; in zend_compile_func_decl_ex()
8302 op_array->fn_flags |= ZEND_ACC_OVERRIDE; in zend_compile_func_decl_ex()
8312 op_array->fn_flags |= ZEND_ACC_DEPRECATED; in zend_compile_func_decl_ex()
8324 op_array->fn_flags |= ZEND_ACC_TOP_LEVEL; in zend_compile_func_decl_ex()
8341 if (CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR) { in zend_compile_func_decl_ex()
8354 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_compile_func_decl_ex()
9197 CG(active_op_array)->fn_flags |= ZEND_ACC_EARLY_BINDING; in zend_compile_class_decl()
9596 if (op_array && ce && !op_array->scope && !(op_array->fn_flags & ZEND_ACC_CLOSURE)) { in zend_try_ct_eval_magic_const()
10444 bool returns_by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_yield()
10478 if (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) { in zend_compile_yield_from()
10585 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_isset_or_empty()