<?php
foreach (array('mse', '', 'Jos') as $s1) { 
   printf('String  measured with strlen:%d mb_strlen:%s grapheme_strlen%s%s', 
                  $s1, strlen($s1),mb_strlen($s1), grapheme_strlen($s1), PHP_EOL);
}