Lines Matching refs:fbc

894 static zend_never_inline int zend_verify_internal_arg_types(zend_function *fbc, zend_execute_data *…  in zend_verify_internal_arg_types()  argument
903 if (UNEXPECTED(!zend_verify_arg_type(fbc, i + 1, p, NULL, &dummy_cache_slot))) { in zend_verify_internal_arg_types()
2549 zend_function *fbc; in zend_init_dynamic_call_string() local
2574 fbc = called_scope->get_static_method(called_scope, mname); in zend_init_dynamic_call_string()
2576 fbc = zend_std_get_static_method(called_scope, mname, NULL); in zend_init_dynamic_call_string()
2578 if (UNEXPECTED(fbc == NULL)) { in zend_init_dynamic_call_string()
2590 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_init_dynamic_call_string()
2591 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_init_dynamic_call_string()
2594 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_init_dynamic_call_string()
2602 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_init_dynamic_call_string()
2620 fbc = Z_FUNC_P(func); in zend_init_dynamic_call_string()
2624 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!fbc->op_array.run_time_cache)) { in zend_init_dynamic_call_string()
2625 init_func_run_time_cache(&fbc->op_array); in zend_init_dynamic_call_string()
2629 fbc, num_args, called_scope, NULL); in zend_init_dynamic_call_string()
2635 zend_function *fbc; in zend_init_dynamic_call_object() local
2641 …EXPECTED(Z_OBJ_HANDLER_P(function, get_closure)(function, &called_scope, &fbc, &object) == SUCCESS… in zend_init_dynamic_call_object()
2643 if (fbc->common.fn_flags & ZEND_ACC_CLOSURE) { in zend_init_dynamic_call_object()
2645 ZEND_ASSERT(GC_TYPE((zend_object*)fbc->common.prototype) == IS_OBJECT); in zend_init_dynamic_call_object()
2646 GC_REFCOUNT((zend_object*)fbc->common.prototype)++; in zend_init_dynamic_call_object()
2648 if (fbc->common.fn_flags & ZEND_ACC_FAKE_CLOSURE) { in zend_init_dynamic_call_object()
2660 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!fbc->op_array.run_time_cache)) { in zend_init_dynamic_call_object()
2661 init_func_run_time_cache(&fbc->op_array); in zend_init_dynamic_call_object()
2665 fbc, num_args, called_scope, object); in zend_init_dynamic_call_object()
2671 zend_function *fbc; in zend_init_dynamic_call_array() local
2707 fbc = called_scope->get_static_method(called_scope, Z_STR_P(method)); in zend_init_dynamic_call_array()
2709 fbc = zend_std_get_static_method(called_scope, Z_STR_P(method), NULL); in zend_init_dynamic_call_array()
2711 if (UNEXPECTED(fbc == NULL)) { in zend_init_dynamic_call_array()
2717 if (!(fbc->common.fn_flags & ZEND_ACC_STATIC)) { in zend_init_dynamic_call_array()
2718 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in zend_init_dynamic_call_array()
2721 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_init_dynamic_call_array()
2729 ZSTR_VAL(fbc->common.scope->name), ZSTR_VAL(fbc->common.function_name)); in zend_init_dynamic_call_array()
2737 fbc = Z_OBJ_HT_P(obj)->get_method(&object, Z_STR_P(method), NULL); in zend_init_dynamic_call_array()
2738 if (UNEXPECTED(fbc == NULL)) { in zend_init_dynamic_call_array()
2745 if ((fbc->common.fn_flags & ZEND_ACC_STATIC) != 0) { in zend_init_dynamic_call_array()
2757 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!fbc->op_array.run_time_cache)) { in zend_init_dynamic_call_array()
2758 init_func_run_time_cache(&fbc->op_array); in zend_init_dynamic_call_array()
2762 fbc, num_args, called_scope, object); in zend_init_dynamic_call_array()
2852 zend_function *fbc = call->func; in zend_do_fcall_overloaded() local
2858 if (fbc->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY) { in zend_do_fcall_overloaded()
2859 zend_string_release(fbc->common.function_name); in zend_do_fcall_overloaded()
2861 efree(fbc); in zend_do_fcall_overloaded()
2873 object->handlers->call_method(fbc->common.function_name, object, call, ret); in zend_do_fcall_overloaded()
2878 if (fbc->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY) { in zend_do_fcall_overloaded()
2879 zend_string_release(fbc->common.function_name); in zend_do_fcall_overloaded()
2881 efree(fbc); in zend_do_fcall_overloaded()