//preg_match_all() 执行一次全局正则表达式匹配
//参数
//1.正则表达式
//2.要匹配的字符串
//3.匹配出来的数字
//返回值 匹配个数
实例
$resuly = preg_match_all($preg,$str,$arr1);
var_dump($result);
var_dump($arr1);
运行实例 »点击 "运行实例" 按钮查看在线实例
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!