preg_match_all - 执行一个全局正则表达式匹配

int preg_match_all('正则','$str');

//成功返回匹配到的数目,失败返回0

 

posted @ 2013-04-01 11:11  忆殇之痕  阅读(204)  评论(0编辑  收藏  举报