不需要配置了你这是报的致命 错误 参数有问题$subject = "abcdef";$pattern = '/a/';preg_match($pattern, $subject, $matches);print_r($matches);
!preg_match() 把 !和preg_match() 用空格分开
!preg_match,貌似函数名解析错了,把非的内容包起来