Lines Matching refs:fbc

951 static inline zend_function *zend_check_private_int(zend_function *fbc, zend_class_entry *ce, char …  in zend_check_private_int()  argument
963 if (fbc->common.scope == ce && EG(scope) == ce) { in zend_check_private_int()
965 return fbc; in zend_check_private_int()
973 …>function_table, function_name_strval, function_name_strlen+1, hash_value, (void **) &fbc)==SUCCESS in zend_check_private_int()
974 && fbc->op_array.fn_flags & ZEND_ACC_PRIVATE in zend_check_private_int()
975 && fbc->common.scope == EG(scope)) { in zend_check_private_int()
976 return fbc; in zend_check_private_int()
986 ZEND_API int zend_check_private(zend_function *fbc, zend_class_entry *ce, char *function_name_strva… in zend_check_private() argument
988 …return zend_check_private_int(fbc, ce, function_name_strval, function_name_strlen, zend_hash_func(… in zend_check_private()
1039 zend_function *fbc; in zend_std_get_method() local
1056 …(&zobj->ce->function_table, lc_method_name, method_len+1, hash_value, (void **)&fbc) == FAILURE)) { in zend_std_get_method()
1068 if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_method()
1074 …updated_fbc = zend_check_private_int(fbc, Z_OBJ_HANDLER_P(object, get_class_entry)(object TSRMLS_C… in zend_std_get_method()
1076 fbc = updated_fbc; in zend_std_get_method()
1079 fbc = zend_get_user_call_function(zobj->ce, method_name, method_len); in zend_std_get_method()
1081 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_method()
1089 is_derived_class(fbc->common.scope, EG(scope)) && in zend_std_get_method()
1090 fbc->op_array.fn_flags & ZEND_ACC_CHANGED) { in zend_std_get_method()
1096 fbc = priv_fbc; in zend_std_get_method()
1099 if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_method()
1103 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), EG(scope)))) { in zend_std_get_method()
1105 fbc = zend_get_user_call_function(zobj->ce, method_name, method_len); in zend_std_get_method()
1107 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_method()
1116 return fbc; in zend_std_get_method()
1181 zend_function *fbc = NULL; in zend_std_get_static_method() local
1206 fbc = ce->constructor; in zend_std_get_static_method()
1210 if (EXPECTED(!fbc) && in zend_std_get_static_method()
1211 …>function_table, lc_function_name, function_name_strlen+1, hash_value, (void **) &fbc)==FAILURE)) { in zend_std_get_static_method()
1231 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_std_get_static_method()
1232 …not call non static method %s::%s() without object", ZEND_FN_SCOPE_NAME(fbc), fbc->common.function… in zend_std_get_static_method()
1235 if (fbc->op_array.fn_flags & ZEND_ACC_PUBLIC) { in zend_std_get_static_method()
1237 } else if (fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) { in zend_std_get_static_method()
1242 …updated_fbc = zend_check_private_int(fbc, EG(scope), lc_function_name, function_name_strlen, hash_… in zend_std_get_static_method()
1244 fbc = updated_fbc; in zend_std_get_static_method()
1247 fbc = zend_get_user_callstatic_function(ce, function_name_strval, function_name_strlen); in zend_std_get_static_method()
1249 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_static_method()
1252 } else if ((fbc->common.fn_flags & ZEND_ACC_PROTECTED)) { in zend_std_get_static_method()
1255 if (UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), EG(scope)))) { in zend_std_get_static_method()
1257 fbc = zend_get_user_callstatic_function(ce, function_name_strval, function_name_strlen); in zend_std_get_static_method()
1259 …d %s::%s() from context '%s'", zend_visibility_string(fbc->common.fn_flags), ZEND_FN_SCOPE_NAME(fb… in zend_std_get_static_method()
1268 return fbc; in zend_std_get_static_method()