note 95376 deleted from function.strlen by thiago
| From: | thiago@php.net | Date: | Wed, 30 Dec 2009 12:08:59 +0000 |
| Subject: | note 95376 deleted from function.strlen by thiago | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-164464@lists.php.net to get a copy of this message | ||
Note Submitter: john
----
for utf8, why not just using mb_strlen :
$a= 'á áááá¡á¢á ááªáá';
$b=strlen($a);
=> $b = 33
$b=mb_strlen($a);
=> $b = 11 => good job no ?