note 25656 deleted from function.strlen by stone
| From: | stone@php.net | Date: | Fri, 09 May 2003 19:02:01 +0000 |
| Subject: | note 25656 deleted from function.strlen by stone | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-47757@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;
}