<?php /** * extention.func.php 用户自定义函数库 * @author tally * @update 2014-11-21 13:48:04 */ /** * 返回去除html标签和空格的字符串 * @param $string 需要处理的字符串 * @return $string */ function mooyui_charsfilter($string){ return trim(strip_tags($string)); } ?>
<?php /** * extention.func.php 用户自定义函数库 * @author tally * @update 2014-11-21 13:48:04 */ /** * 返回去除html标签和空格的字符串 * @param $string 需要处理的字符串 * @return $string */ function mooyui_charsfilter($string){ return trim(strip_tags($string)); } ?>