1、
<?=strlen($navinfor[newstext])?>
统计:8022 个字
2、
<?=strlen(strip_tags($navinfor[newstext]))?>
加上过滤后
统计:1559 个字
3、
<?=strlen(htmlspecialchars(strip_tags(str_replace(' ','',str_replace('“',str_replace('”',$navinfor[newstext]))))))?>
加上空格等过滤后
统计:1217 个字
4、
<?=strlen(htmlspecialchars(strip_tags(str_replace(' ',str_replace(egetzy('rn'),str_replace(egetzy('<br />'),$navinfor[newstext]))))))))?>
加上空格等+html标签等过滤后
统计:1141 个字