虫言虫语 虫言虫语

全角半角字符串替换

in 默认分类read (97545) 文章转载请注明来源!
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

支付宝打赏

文章二维码

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

发表新评论
已有 21230 条评论
  1. loppDrurb
    loppDrurb
    回复

    viagra https://buyonlinewwwmen.com/ - cheap viagra viagra without doctor prescription generic viagra viagra

  2. canadian pharmacy

    canadian pharmacy
    http://canadianpharmaciesnorth.com/
    canadian pharmary without prescription

  3. dbniLiene
    dbniLiene
    回复

    cialis online https://valcialisns.com/ - cialis online cialis online online cialis cialis

  4. online drugstore

    best online pharmacies in canada
    http://canadianpharmaciesnorth.com/
    no prior prescription required pharmacy

  5. highest rated canadian pharmacies

    legitimate canadian mail order pharmacies
    http://canadianpharmaciesnorth.com/
    pharcharmy online no precipitation

  6. SueDes
    SueDes
    回复

    buy vardenafil buy cytotec buy diflucan 150mg colchicine 0.6 medicine amoxicillin 500 generic for advair diskus wellbutrin 150 mg buy prednisone how to buy lisinopril online augmentin tab 875 mg

  7. smagmevagype

    cbd oil at walmart http://cbd-online.us.com/ - cbd pills cbd oil benefits cbd oil for pain

  8. crapyragacoup

    cbd oil online http://cbdoilstore.us.com/ - hemp oil for pain cbd oil buy hemp oil cbd hemp

  9. swimarumTauff

    hemp oil http://cbd-oils.us.com/ cannabis oil cbd oil benefits cbd oil benefits

  10. JaneDes
    JaneDes
    回复

    lasix 40

  11. lqbtbCrarl
    lqbtbCrarl
    回复

    online cialis [url=http://genericcialls.com/]cialis pills[/url] cialis daily buy cialis cheap cialis

  12. top 10 mail order pharmacies

    legitimate canadian mail order pharmacies
    http://canadianpharmaciesoffer.com/
    no 1 canadian pharcharmy online

  13. Amitsflormror

    http://cbd-hemp.us.com/ cbd gummies http://cbd-hemp.us.com/ - cbd for sale cbd pure

  14. lqbtbCrarl
    lqbtbCrarl
    回复

    online cialis http://genericcialls.com/ - cheap cialis cialis online cialis cialis

  15. Payday Loans Online

    loan application online

  16. bdghscant
    bdghscant
    回复

    cheap cialis http://www.ciallisonline.com/ - cheap cialis cheap cialis cialis online cheap cialis

  17. prescriptions from canada without

    canadian pharmacies shipping to usa
    http://canadianpharmaciesoffer.com/
    highest rated canadian pharmacies

  18. us pharmacy no prior prescription

    buy prescription drugs without doctor
    http://canadianpharmaciesoffer.com/
    online pharmacies

  19. smagmevagype

    buy cbd oil http://cbd-online.us.com/ - hemp oil for pain cbd store cbd hemp medterra cbd

  20. crapyragacoup

    cbd for dogs http://cbdoilstore.us.com/ cbd oil for pain cbd products cbd capsules

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