preg_match - 执行一个正则表达式匹配

int preg_match('正则','$str','$arr'); //$arr 匹配后的内容

//匹配成功返回1,失败返回0

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