这家伙有点懒,还没写个性签名!
mb_strlen 用于多字节处理,在 UTF-8 编码下 mb_strlen('中国') 结果是 2,strlen('中国') 结果是 6
mb_strlen
mb_strlen('中国')
2
strlen('中国')
6