看板 [ PHP ]
討論串請問utf8_strrev
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者LPH66 (ha(ruhi|yate)ism)時間19年前 (2007/03/04 00:01), 編輯資訊
0
0
1
內容預覽:
http://tw.php.net/manual/en/reference.pcre.pattern.modifiers.php. u (PCRE_UTF8). This modifier turns on additional functionality of PCRE that is incom
(還有426個字)

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者yuan0258 (阿元)時間19年前 (2007/03/03 21:55), 編輯資訊
0
0
0
內容預覽:
function utf8_strrev($str){. preg_match_all('/./us', $str, $ar);. return join('',array_reverse($ar[0]));. }. 這是php官網有人提供的函式. 可以將中文字串反轉不會有亂碼的問題. 但是我看不懂
首頁
上一頁
1
下一頁
尾頁