+
95
-

php5.6后preg_match_all(): Compilation failed: invalid range in character class at offset 2

php

php5.6迁移后出现preg_match_all(): Compilation failed: invalid range in character class at offset 2


网友回复

+
15
-

将[]中的横杠转义

 如[\w.-]改成[\w.\-]

我知道答案,我要回答