<?php $str = 'abcdef'; echo mb_strlen($str, "UTF-8"); // 6 $str = '山本'; echo mb_strlen($str, 'UTF-8'); // 7 ?>
You have javascript disabled. You will not be able to edit any code.