<?php
// Count Something the fun way..
$data = 'http://www.simplemachines.org/community/index.php?action=markasread;sa=unreadreplies;topics=165387-165493-150433-161806-32501-163875-160794-164384-165500-157013-165523-37792-159698-165094-163128-165480-153146-159800-165529-76985;sesc=';
$count = 0;
foreach (count_chars($data, 1) as $i => $val)
$count += $val;
echo $count, ' Chars in the string<hr/>, strlen($data) . ' Chars in the string';
?>