标签:nbsp utf-8 turn 反转 div for odi strlen style
function getRev($str,$encoding=‘utf-8‘){ $result = ‘‘; $len = mb_strlen($str); for($i=$len-1; $i>=0; $i--){ $result .= mb_substr($str,$i,1,$encoding); } return $result; }
标签:nbsp utf-8 turn 反转 div for odi strlen style
原文地址:http://www.cnblogs.com/already/p/6397053.html