PHP头条
热点:

PHP解密Unicode及Escape加密字符串函数-PHP源码


php代码

>6);   
         $str.=chr(0x80 | $c & 0x3f);   
    } else if ($c < 0x10000) {   
         $str.=chr(0xe0 | $c>>12);   
         $str.=chr(0x80 | $c>>6 & 0x3f);   
         $str.=chr(0x80 | $c & 0x3f);   
    } else if ($c < 0x200000) {   
         $str.=chr(0xf0 | $c>>18);   
         $str.=chr(0x80 | $c>>12 & 0x3f);   
         $str.=chr(0x80 | $c>>6 & 0x3f);   
         $str.=chr(0x80 | $c & 0x3f);   
    }   
    return $str;   
}   
  
$str='%u5927%u5BB6%u597D%uFF0C
\u8FD9\u662F\u6D4B\u8BD5\u6587\u672C\uFF01';   
echo uni_decode($str);

www.phpzy.comtrue/phpyy/49168.htmlTechArticlePHP解密Unicode及Escape加密字符串函数-PHP源码 php代码 >6); $str.=chr(0x80 | $c } else if ($c >12); $str.=chr(0x80 | $c>>6 $str.=chr(0x80 | $c } else if ($c >18); $str.=chr(0x80 | $c>>12 $str.=chr(0x80 | $c>>6 $str.=chr(0x80 | $...

相关文章

PHP之友评论

今天推荐