echo mb_strlen('长度'); //结果是2echo strlen('长度'); //结果是6 转载于:https://www.cnblogs.com/shaoing/p/5504361.html