Lines Matching refs:fbc

1934 	zend_function *fbc = EX(function_state).function;  in ZEND_VM_HELPER()  local
1939 if (UNEXPECTED((fbc->common.fn_flags & (ZEND_ACC_ABSTRACT|ZEND_ACC_DEPRECATED)) != 0)) { in ZEND_VM_HELPER()
1940 if (UNEXPECTED((fbc->common.fn_flags & ZEND_ACC_ABSTRACT) != 0)) { in ZEND_VM_HELPER()
1941 …ror_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", fbc->common.scope->name, fbc->common… in ZEND_VM_HELPER()
1943 if (UNEXPECTED((fbc->common.fn_flags & ZEND_ACC_DEPRECATED) != 0)) { in ZEND_VM_HELPER()
1945 fbc->common.scope ? fbc->common.scope->name : "", in ZEND_VM_HELPER()
1946 fbc->common.scope ? "::" : "", in ZEND_VM_HELPER()
1947 fbc->common.function_name); in ZEND_VM_HELPER()
1953 if (fbc->common.scope && in ZEND_VM_HELPER()
1954 !(fbc->common.fn_flags & ZEND_ACC_STATIC) && in ZEND_VM_HELPER()
1957 if (fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) { in ZEND_VM_HELPER()
1959 …"Non-static method %s::%s() should not be called statically", fbc->common.scope->name, fbc->common… in ZEND_VM_HELPER()
1966 …OR, "Non-static method %s::%s() cannot be called statically", fbc->common.scope->name, fbc->common… in ZEND_VM_HELPER()
1970 if (fbc->type == ZEND_USER_FUNCTION || fbc->common.scope) { in ZEND_VM_HELPER()
1976 EG(scope) = (fbc->type == ZEND_USER_FUNCTION || !EX(object)) ? fbc->common.scope : NULL; in ZEND_VM_HELPER()
1989 if (fbc->type == ZEND_INTERNAL_FUNCTION) { in ZEND_VM_HELPER()
1990 if (fbc->common.fn_flags & ZEND_ACC_HAS_TYPE_HINTS) { in ZEND_VM_HELPER()
1995 zend_verify_arg_type(fbc, i + 1, (zval *) *p, 0, NULL TSRMLS_CC); in ZEND_VM_HELPER()
2005 ret->var.fcall_returned_reference = (fbc->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in ZEND_VM_HELPER()
2009fbc->internal_function.handler(num_args, ret->var.ptr, &ret->var.ptr, EX(object), RETURN_VALUE_USE… in ZEND_VM_HELPER()
2020 } else if (fbc->type == ZEND_USER_FUNCTION) { in ZEND_VM_HELPER()
2024 EG(active_op_array) = &fbc->op_array; in ZEND_VM_HELPER()
2030 ret->var.fcall_returned_reference = (fbc->common.fn_flags & ZEND_ACC_RETURN_REFERENCE) != 0; in ZEND_VM_HELPER()
2059 …Z_OBJ_HT_P(EX(object))->call_method(fbc->common.function_name, num_args, EX_T(opline->result.var).… in ZEND_VM_HELPER()
2064 if (fbc->type == ZEND_OVERLOADED_FUNCTION_TEMPORARY) { in ZEND_VM_HELPER()
2065 efree((char*)fbc->common.function_name); in ZEND_VM_HELPER()
2067 efree(fbc); in ZEND_VM_HELPER()
2473 …(call->fbc = CACHED_POLYMORPHIC_PTR(opline->op2.literal->cache_slot, call->called_scope)) == NULL)…
2481 …call->fbc = Z_OBJ_HT_P(call->object)->get_method(&call->object, function_name_strval, function_nam…
2482 if (UNEXPECTED(call->fbc == NULL)) {
2486 EXPECTED(call->fbc->type <= ZEND_USER_FUNCTION) &&
2487 … EXPECTED((call->fbc->common.fn_flags & (ZEND_ACC_CALL_VIA_HANDLER|ZEND_ACC_NEVER_CACHE)) == 0) &&
2489 CACHE_POLYMORPHIC_PTR(opline->op2.literal->cache_slot, call->called_scope, call->fbc);
2500 if ((call->fbc->common.fn_flags & ZEND_ACC_STATIC) != 0) {
2562 call->fbc = CACHED_PTR(opline->op2.literal->cache_slot);
2565 (call->fbc = CACHED_POLYMORPHIC_PTR(opline->op2.literal->cache_slot, ce))) {
2591 call->fbc = ce->get_static_method(ce, function_name_strval, function_name_strlen TSRMLS_CC);
2593 …call->fbc = zend_std_get_static_method(ce, function_name_strval, function_name_strlen, ((OP2_TYPE …
2595 if (UNEXPECTED(call->fbc == NULL)) {
2599 EXPECTED(call->fbc->type <= ZEND_USER_FUNCTION) &&
2600 … EXPECTED((call->fbc->common.fn_flags & (ZEND_ACC_CALL_VIA_HANDLER|ZEND_ACC_NEVER_CACHE)) == 0)) {
2602 CACHE_PTR(opline->op2.literal->cache_slot, call->fbc);
2604 CACHE_POLYMORPHIC_PTR(opline->op2.literal->cache_slot, ce, call->fbc);
2618 call->fbc = ce->constructor;
2621 if (call->fbc->common.fn_flags & ZEND_ACC_STATIC) {
2629 if (call->fbc->common.fn_flags & ZEND_ACC_ALLOW_STATIC) {
2630 …atically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->com…
2633 …atically, assuming $this from incompatible context", call->fbc->common.scope->name, call->fbc->com…
2659 call->fbc = CACHED_PTR(opline->op2.literal->cache_slot);
2660 …n_name), Z_STRLEN_P(function_name)+1, Z_HASH_P(function_name), (void **) &call->fbc) == FAILURE)) {
2664 CACHE_PTR(opline->op2.literal->cache_slot, call->fbc);
2692 …_hash_find(EG(function_table), lcname, function_name_strlen+1, (void **) &call->fbc) == FAILURE)) {
2709 …Z_OBJ_HANDLER_P(function_name, get_closure)(function_name, &call->called_scope, &call->fbc, &call-…
2714 call->fbc->common.fn_flags & ZEND_ACC_CLOSURE) {
2716 call->fbc->common.prototype = (zend_function*)function_name;
2759 call->fbc = ce->get_static_method(ce, Z_STRVAL_PP(method), Z_STRLEN_PP(method) TSRMLS_CC);
2761 …call->fbc = zend_std_get_static_method(ce, Z_STRVAL_PP(method), Z_STRLEN_PP(method), NULL TSRMLS_C…
2767 …call->fbc = Z_OBJ_HT_P(call->object)->get_method(&call->object, Z_STRVAL_PP(method), Z_STRLEN_PP(m…
2768 if (UNEXPECTED(call->fbc == NULL)) {
2772 if ((call->fbc->common.fn_flags & ZEND_ACC_STATIC) != 0) {
2787 if (UNEXPECTED(call->fbc == NULL)) {
2817 call->fbc = CACHED_PTR(opline->op2.literal->cache_slot);
2818 …onstant), Z_STRLEN(func_name->constant)+1, func_name->hash_value, (void **) &call->fbc)==FAILURE) {
2820 …nstant), Z_STRLEN(func_name->constant)+1, func_name->hash_value, (void **) &call->fbc)==FAILURE)) {
2824 CACHE_PTR(opline->op2.literal->cache_slot, call->fbc);
2827 CACHE_PTR(opline->op2.literal->cache_slot, call->fbc);
2841 EX(function_state).function = EX(call)->fbc;
2861 call->fbc = EX(function_state).function;
3097 if (ARG_MUST_BE_SENT_BY_REF(EX(call)->fbc, opline->op2.num)) {
3166 if (!ARG_SHOULD_BE_SENT_BY_REF(EX(call)->fbc, opline->op2.num)) {
3186 !ARG_MAY_BE_SENT_BY_REF(EX(call)->fbc, opline->op2.num)) {
3224 if (!ARG_SHOULD_BE_SENT_BY_REF(EX(call)->fbc, opline->op2.num)) {
3244 if (ARG_SHOULD_BE_SENT_BY_REF(EX(call)->fbc, opline->op2.num)) {
3286 if (ARG_SHOULD_BE_SENT_BY_REF(EX(call)->fbc, arg_num)) {
3359 if (ARG_MUST_BE_SENT_BY_REF(EX(call)->fbc, arg_num)) {
3363 EX(call)->fbc->common.scope ? EX(call)->fbc->common.scope->name : "",
3364 EX(call)->fbc->common.scope ? "::" : "",
3365 EX(call)->fbc->common.function_name
3639 call->fbc = constructor;
5284 if (call->fbc->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) {
5285 efree((char *) call->fbc->common.function_name);
5286 efree(call->fbc);