虫言虫语 虫言虫语

全角半角字符串替换

in 默认分类read (206588) 文章转载请注明来源!
function Sbc2Dbc($str)
{
    $arr = array(
        '0' => '0', '1' => '1', '2' => '2', '3' => '3', '4' => '4', '5' => '5', '6' => '6', '7' => '7', '8' => '8', '9' => '9',
        'A' => 'A', 'B' => 'B', 'C' => 'C', 'D' => 'D', 'E' => 'E', 'F' => 'F', 'G' => 'G', 'H' => 'H', 'I' => 'I', 'J' => 'J',
        'K' => 'K', 'L' => 'L', 'M' => 'M', 'N' => 'N', 'O' => 'O', 'P' => 'P', 'Q' => 'Q', 'R' => 'R', 'S' => 'S', 'T' => 'T',
        'U' => 'U', 'V' => 'V', 'W' => 'W', 'X' => 'X', 'Y' => 'Y', 'Z' => 'Z', 'a' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd',
        'e' => 'e', 'f' => 'f', 'g' => 'g', 'h' => 'h', 'i' => 'i', 'j' => 'j', 'k' => 'k', 'l' => 'l', 'm' => 'm', 'n' => 'n',
        'o' => 'o', 'p' => 'p', 'q' => 'q', 'r' => 'r', 's' => 's', 't' => 't', 'u' => 'u', 'v' => 'v', 'w' => 'w', 'x' => 'x',
        'y' => 'y', 'z' => 'z',
        '(' => '(', ')' => ')', '〔' => '(', '〕' => ')', '【' => '[', '】' => ']', '〖' => '[', '〗' => ']', '“' => '"', '”' => '"',
        '‘' => '\'', '\'' => '\'', '{' => '{', '}' => '}', '《' => '<', '》' => '>', '%' => '%', '+' => '+', '—' => '-', '-' => '-',
        '~' => '~', ':' => ':', '。' => '.', '、' => ',', ',' => ',', '\、' => ',', ';' => ';', '?' => '?', '!' => '!', '…' => '-',
        '‖' => '|', '\”' => '"', '\'' => '`', '\‘' => '`', '|' => '|', '〃' => '"', ' ' => ' ', '×' => '*', ' ̄' => '~', '.' => '.', '*' => '*',
        '&' => '&', '<' => '<', '>' => '>', '$' => '$', '@' => '@', '^' => '^', '_' => '_', '"' => '"', '¥' => '$', '=' => '=',
        '\' => '\\', '/' => '/'
    );
    return strtr($str, $arr);
}
jrotty WeChat Pay

微信打赏

jrotty Alipay

支付宝打赏

文章二维码

扫描二维码,在手机上阅读!

发表新评论
已有 32067 条评论
  1. Brucezoorm
    Brucezoorm
    回复

    where to buy viagra online buy cheap viagra where to buy viagra online
    ed meds online without doctor prescription https://sildenafilxxl.com/ - viagra cost
    buy generic viagra buy cheap viagra viagra prescription

  2. mexican pharmacies shipping to usa

    canadian pharcharmy online
    http://canadianonlinepharmacynote.com/
    reliable canadian pharmacy

  3. FgsAstew
    FgsAstew
    回复

    writing a essay online help on essays research paper wikihow

  4. Thomasbawib
    Thomasbawib
    回复

    herbal ed treatment https://sildenafilxxl.com/ viagra without a doctor prescription usa

  5. JackDes
    JackDes
    回复

    buy provigil online europe buy cialis 100mg online viagra 8000mg lyrica 150 mg cost generic cialis fast delivery buy generic viagra online from india cialis from canada online pharmacy feldene price

  6. AnnaDes
    AnnaDes
    回复

    erectafil 40 mg usa pharmacy 3 viagra pills kamagra oral jelly 10 sachets cialis online women dexamethasone india tadalafil 20mg price in india

  7. LeonardVes
    LeonardVes
    回复

    САмое эффективное для продаж - Pinterest. Смотрите Видео пример продаж: Сотни Продаж на Etsy, amazon, ebay, shopify за 2 месяца при ср.цене чека 300 usd https://youtu.be/GNOZtXGGM-I

博客已萌萌哒运行
© 2020 由 Typecho 强力驱动.Theme by Yodu
前篇 后篇
雷姆
拉姆