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('“','',str_replace('”','',str_replace(egetzy('rn'),'',str_replace(egetzy('<br/>'),'',$navinfor[newstext]))))))))?>

加上空格等+html标签等过滤后

统计:1141 个字

声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。