📅  最后修改于: 2022-03-11 14:55:44.798000             🧑  作者: Mango
if (preg_match('/MSIE\s(?P\d+)/i', @$_SERVER['HTTP_USER_AGENT'], $B) && $B['v'] <= 8) {
// Browsers IE 8 and below
} else {
// All other browsers
}