Lines Matching refs:fn_flags

1334 	if (CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) {  in zend_mark_function_as_generator()
1356 CG(active_op_array)->fn_flags |= ZEND_ACC_GENERATOR; in zend_mark_function_as_generator()
1508 if (CG(active_op_array)->fn_flags & ZEND_ACC_CLOSURE) { in zend_is_scope_known()
2513 bool returns_reference = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_emit_final_return()
2515 if ((CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) in zend_emit_final_return()
2516 && !(CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR)) { in zend_emit_final_return()
2787 && (op_array->fn_flags & ZEND_ACC_STATIC) == 0; in this_guaranteed_exists()
2799 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_simple_var()
2932 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_delayed_compile_prop()
3552 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3572 if (arg_num == (uint32_t) -1 && (fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_compile_args()
3638 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_args()
3716 ZEND_ASSERT(!(fbc->common.fn_flags & ZEND_ACC_CALL_VIA_TRAMPOLINE)); in zend_get_call_op()
3719 if (!(fbc->common.fn_flags & ZEND_ACC_DEPRECATED)) { in zend_get_call_op()
4000 return !ZEND_USER_CODE(fbc->type) || (fbc->common.fn_flags & ZEND_ACC_DONE_PASS_TWO); in fbc_is_finalized()
4610 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_method_call()
4646 if (fbc && !(fbc->common.fn_flags & (ZEND_ACC_PRIVATE|ZEND_ACC_FINAL))) { in zend_compile_method_call()
4669 if (!fbc || (fbc->common.fn_flags & ZEND_ACC_PUBLIC) || ce == CG(active_class_entry)) { in zend_get_compatible_func_or_null()
4673 if (!(fbc->common.fn_flags & ZEND_ACC_PRIVATE) in zend_get_compatible_func_or_null()
5018 bool is_generator = (CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR) != 0; in zend_compile_return()
5019 bool by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_return()
5039 if ((CG(active_op_array)->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK) in zend_compile_return()
5051 if (!is_generator && (CG(active_op_array)->fn_flags & ZEND_ACC_HAS_RETURN_TYPE)) { in zend_compile_return()
5973 if (!(CG(active_op_array)->fn_flags & ZEND_ACC_HAS_FINALLY_BLOCK)) { in zend_compile_try()
5974 CG(active_op_array)->fn_flags |= ZEND_ACC_HAS_FINALLY_BLOCK; in zend_compile_try()
6237 CG(active_op_array)->fn_flags |= ZEND_ACC_STRICT_TYPES; in zend_compile_declare()
6277 …if (UNEXPECTED((func->common.fn_flags & ZEND_ACC_VARIADIC) && ZEND_ARG_SEND_MODE(&func->common.arg… in zend_set_function_arg_flags()
6717 uint32_t flags = (CG(active_op_array)->fn_flags & ZEND_ACC_STRICT_TYPES) in zend_compile_attributes()
6806 … (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0, /* is_variadic */ 0, /* is_tentative */ 0); in zend_compile_params()
6811 op_array->fn_flags |= ZEND_ACC_HAS_RETURN_TYPE; in zend_compile_params()
6814 && (op_array->fn_flags & ZEND_ACC_RETURN_REFERENCE)) { in zend_compile_params()
6867 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
6874 op_array->fn_flags |= ZEND_ACC_VARIADIC; in zend_compile_params()
6932 op_array->fn_flags |= ZEND_ACC_HAS_TYPE_HINTS; in zend_compile_params()
6981 if ((op_array->fn_flags & ZEND_ACC_ABSTRACT) in zend_compile_params()
7041 if (op_array->fn_flags & ZEND_ACC_VARIADIC) { in zend_compile_params()
7282 uint32_t fn_flags = op_array->fn_flags; in zend_begin_method_decl() local
7286 if (fn_flags & ZEND_ACC_READONLY) { in zend_begin_method_decl()
7290 if ((fn_flags & ZEND_ACC_PRIVATE) && (fn_flags & ZEND_ACC_FINAL) && !zend_is_constructor(name)) { in zend_begin_method_decl()
7295 if (!(fn_flags & ZEND_ACC_PUBLIC)) { in zend_begin_method_decl()
7299 if (fn_flags & ZEND_ACC_FINAL) { in zend_begin_method_decl()
7303 if (fn_flags & ZEND_ACC_ABSTRACT) { in zend_begin_method_decl()
7307 op_array->fn_flags |= ZEND_ACC_ABSTRACT; in zend_begin_method_decl()
7310 if (op_array->fn_flags & ZEND_ACC_ABSTRACT) { in zend_begin_method_decl()
7311 if ((op_array->fn_flags & ZEND_ACC_PRIVATE) && !(ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_begin_method_decl()
7389 if (op_array->fn_flags & ZEND_ACC_CLOSURE) { in zend_begin_func_decl()
7424 op_array->fn_flags |= ZEND_ACC_PRELOADED; in zend_compile_func_decl()
7427 op_array->fn_flags |= (orig_op_array->fn_flags & ZEND_ACC_STRICT_TYPES); in zend_compile_func_decl()
7428 op_array->fn_flags |= decl->flags; in zend_compile_func_decl()
7436 op_array->fn_flags |= ZEND_ACC_CLOSURE; in zend_compile_func_decl()
7472 op_array->fn_flags |= ZEND_ACC_TOP_LEVEL; in zend_compile_func_decl()
7487 if (CG(active_op_array)->fn_flags & ZEND_ACC_GENERATOR) { in zend_compile_func_decl()
7500 if (op_array->fn_flags & ZEND_ACC_HAS_RETURN_TYPE) { in zend_compile_func_decl()
8073 CG(active_op_array)->fn_flags |= ZEND_ACC_EARLY_BINDING; in zend_compile_class_decl()
8457 if (op_array && ce && !op_array->scope && !(op_array->fn_flags & ZEND_ACC_CLOSURE)) { in zend_try_ct_eval_magic_const()
9322 bool returns_by_ref = (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in zend_compile_yield()
9356 if (CG(active_op_array)->fn_flags & ZEND_ACC_RETURN_REFERENCE) { in zend_compile_yield_from()
9463 CG(active_op_array)->fn_flags |= ZEND_ACC_USES_THIS; in zend_compile_isset_or_empty()