note 25656 added to function.strlen

From: Date: Tue, 01 Oct 2002 18:14:08 +0000
Subject: note 25656 added to function.strlen
Groups: php.notes 
Request: Send a blank email to php-notes+get-37477@lists.php.net to get a copy of this message
I found the strangest thing with strlen, for some reason it will not return the length of the word dude, it reads it as 1. with this code anyways: $stringcount = strlen($text); if ($stringcount > 8) { echo $text.".size.".$stringcount; end; } else { echo $text.".size.".$stringcount; end; } -- http://www.php.net/manual/en/function.strlen.php http://master.php.net/manage/user-notes.php?action=edit+25656 http://master.php.net/manage/user-notes.php?action=delete+25656 http://master.php.net/manage/user-notes.php?action=reject+25656

« previous php.notes (#37477) next »