首页
课程
路径
文章
PHP培训
精品课
下载
技术文章
>
后端开发
>
php教程
php转换html为txt文本的函数代码
原创
2016-07-25 08:59:33
811浏览
/**
* 转换html为txt文本的函数
* Edit bbs.it-home.org
* at 2013/5/11
*/
function html2text($str){
$str = preg_replace("/