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 個字
新聞熱點
疑難解答