<?php $str = '这是一个长度47个字符的中文字符串'; echo mb_strlen($str); // 17
You have javascript disabled. You will not be able to edit any code.