note 91154 added to function.strlen

From: Date: Wed, 27 May 2009 16:28:23 +0000
Subject: note 91154 added to function.strlen
Groups: php.notes 
Request: Send a blank email to php-notes+get-156086@lists.php.net to get a copy of this message
You can also just say: <?php strlen(utf8_decode($a)) ?> The utf8_decode($a) will take care of converting the utf characters that have more than one byte in to one symbol and the strlen() will count those correctly as length 1. ---- Server IP: 69.147.83.197 Probable Submitter: 71.204.116.89 ---- Manual Page -- http://www.php.net/manual/en/function.strlen.php Edit -- https://master.php.net/note/edit/91154 Del: integrated -- https://master.php.net/note/delete/91154/integrated Del: useless -- https://master.php.net/note/delete/91154/useless Del: bad code -- https://master.php.net/note/delete/91154/bad+code Del: spam -- https://master.php.net/note/delete/91154/spam Del: non-english -- https://master.php.net/note/delete/91154/non-english Del: in docs -- https://master.php.net/note/delete/91154/in+docs Del: other reasons-- https://master.php.net/note/delete/91154 Reject -- https://master.php.net/note/reject/91154 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#156086) next »