$str="我是字串"

mb_strlen($str,'UTF-8')=>輸出 4//因為有設定編碼

strlen($str);=>輸出 12//中文字佔3個字元><

arrow
arrow
    全站熱搜

    歐迪設計 發表在 痞客邦 留言(0) 人氣()