Lines Matching refs:fbc
1066 zend_function *fbc; in zend_get_parent_private() local
1072 fbc = Z_FUNC_P(func); in zend_get_parent_private()
1073 if (fbc->common.fn_flags & ZEND_ACC_PRIVATE in zend_get_parent_private()
1074 && fbc->common.scope == scope) { in zend_get_parent_private()
1075 return fbc; in zend_get_parent_private()
1090 ZEND_API int zend_check_private(zend_function *fbc, zend_class_entry *ce, zend_string *function_nam… in zend_check_private() argument
1105 if (fbc->common.scope == ce && scope == ce) { in zend_check_private()
1149 zend_function *fbc = is_static ? ce->__callstatic : ce->__call; in zend_get_call_trampoline_func() local
1151 ZEND_ASSERT(fbc); in zend_get_call_trampoline_func()
1169 func->scope = fbc->common.scope; in zend_get_call_trampoline_func()
1171 func->T = (fbc->type == ZEND_USER_FUNCTION)? MAX(fbc->op_array.last_var + fbc->op_array.T, 2) : 2; in zend_get_call_trampoline_func()
1172 func->filename = (fbc->type == ZEND_USER_FUNCTION)? fbc->op_array.filename : ZSTR_EMPTY_ALLOC(); in zend_get_call_trampoline_func()
1173 func->line_start = (fbc->type == ZEND_USER_FUNCTION)? fbc->op_array.line_start : 0; in zend_get_call_trampoline_func()
1174 func->line_end = (fbc->type == ZEND_USER_FUNCTION)? fbc->op_array.line_end : 0; in zend_get_call_trampoline_func()
1198 zend_function *fbc; in zend_std_get_method() local
1224 fbc = Z_FUNC_P(func); in zend_std_get_method()
1226 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_method()
1231 if (fbc->common.scope != scope || zobj->ce != scope) { in zend_std_get_method()
1234 fbc = updated_fbc; in zend_std_get_method()
1237 fbc = zend_get_user_call_function(zobj->ce, method_name); in zend_std_get_method()
1240 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_method()
1241 fbc = NULL; in zend_std_get_method()
1245 } else if (fbc->op_array.fn_flags & (ZEND_ACC_CHANGED|ZEND_ACC_PROTECTED)) { in zend_std_get_method()
1252 if (fbc->op_array.fn_flags & ZEND_ACC_CHANGED) { in zend_std_get_method()
1253 zend_function *priv_fbc = zend_get_parent_private(scope, fbc->common.scope, lc_method_name); in zend_std_get_method()
1255 fbc = priv_fbc; in zend_std_get_method()
1257 } else if (!(fbc->op_array.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_method()
1265 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), scope))) { in zend_std_get_method()
1267 fbc = zend_get_user_call_function(zobj->ce, method_name); in zend_std_get_method()
1269 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_method()
1270 fbc = NULL; in zend_std_get_method()
1279 return fbc; in zend_std_get_method()
1291 zend_function *fbc = NULL; in zend_std_get_static_method() local
1305 fbc = Z_FUNC_P(func); in zend_std_get_static_method()
1314 fbc = ce->constructor; in zend_std_get_static_method()
1342 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_std_get_static_method()
1343 …all non static method %s::%s() without object", ZEND_FN_SCOPE_NAME(fbc), ZSTR_VAL(fbc->common.func… in zend_std_get_static_method()
1346 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_static_method()
1348 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_static_method()
1352 if (UNEXPECTED(fbc->common.scope != scope)) { in zend_std_get_static_method()
1354 fbc = zend_get_user_callstatic_function(ce, function_name); in zend_std_get_static_method()
1356 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_static_method()
1357 fbc = NULL; in zend_std_get_static_method()
1360 } else if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_static_method()
1364 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), scope))) { in zend_std_get_static_method()
1366 fbc = zend_get_user_callstatic_function(ce, function_name); in zend_std_get_static_method()
1368 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_static_method()
1369 fbc = NULL; in zend_std_get_static_method()
1378 return fbc; in zend_std_get_static_method()