You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[12-Sep-2021 23:36:03 Asia/Shanghai] PHP Warning: filter_var(): No ending delimiter '/' found in D:\PhpstormProjects\GitHub\php-validate\vendor\inhere\php-validate\src\Validators.php on line 715
[12-Sep-2021 23:36:03 Asia/Shanghai] PHP Warning: filter_var(): No ending delimiter '/' found in D:\PhpstormProjects\GitHub\php-validate\vendor\inhere\php-validate\src\Validators.php on line 715
Activity
ZhangChengLin commentedon Sep 9, 2021
不好意思 刚发出来 想到了 应该用双括号
inhere commentedon Sep 10, 2021
'required|string:8,20|regexp:{$regexp["password"]}'外层换为 双引号 PHP才会解析里面的变量
"required|string:8,20|regexp:{$regexp['password']}"ZhangChengLin commentedon Sep 10, 2021
实际中没有进行正则验证,就通过了??
请测试。
inhere commentedon Sep 11, 2021
有测试示例吗
ZhangChengLin commentedon Sep 11, 2021
这是一部分,应该可以吧。
ZhangChengLin commentedon Sep 12, 2021
@inhere
建了个分支,请帮忙查看,在运行时候,会提示报错,但没有影响运行。
报错信息如下
新建的测试分支地址如下
https://github.com/ZhangChengLin/php-validate/tree/example
里面有具体的代码和有关注释信息,请查看,盼回复啊。
具体可能和正则验证有关。
inhere commentedon Sep 13, 2021
hao