preg 20 6月01 1月 by helenadmin preg_replace(“/times([0-9]+?)/”, “times”.($1+1), $a); times后面的数字也就是前面括号里匹配出的数字+1 ,上面写法行吗? 回复讨论(解决方案)