虫言虫语 虫言虫语

全角半角字符串替换

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

支付宝打赏

文章二维码

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

发表新评论
已有 23429 条评论
  1. wdriLiene
    wdriLiene
    回复

    generic cialis http://cialishe.com/ - cialis online buy cialis cialis online cialis 20mg

  2. vthDrurb
    vthDrurb
    回复

    viagra generic name http://buyviagenonline.com/ - generic viagra online generic viagra online online viagra viagra online

  3. vttqabaxy
    vttqabaxy
    回复

    viagra online http://buyviagricxr.com/ - viagra alternative over the counter viagra viagra canadian pharmacy ezzz viagra

  4. erfiUnada
    erfiUnada
    回复

    buy viagra http://viagrajr.com/ - buy viagra generic viagra viagra generic viagra for women

  5. vpkcrure
    vpkcrure
    回复

    viagra http://cheapgogenvia.com/ - cheap viagra generic viagra online for sale generic viagra buy viagra

  6. vfgrPydaY
    vfgrPydaY
    回复

    otc viagra [url=http://viagracefo.com/]cheap viagra[/url] viagra for men generic viagra online viagra

  7. vfgrPydaY
    vfgrPydaY
    回复

    how long does viagra last http://viagracefo.com/ - women viagra women viagra women viagra how to take viagra

  8. JaneDes
    JaneDes
    回复

    can you buy nolvadex online

  9. cialis generic cialis

    You should: Put naval, be left, spells on the expression a sprinkling weeks finest place to pay off cialis online forum. real money online casinos usa hollywood casino

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