regex(值, 正则规则)用法:Validator::regex(12306, '/^d+$/'); // trueValidator::regex(12306, '/^d{1,4}$/'); // false
用法:Validator::regex(12306, '/^d+$/'); // trueValidator::regex(12306, '/^d{1,4}$/'); // false
Validator::regex(12306, '/^d+$/'); // trueValidator::regex(12306, '/^d{1,4}$/'); // false
上一篇 not_empty_str - YurunPHP1.0开发手册
下一篇 equal/unequal - YurunPHP1.0开发手册
版权所有 (c)2021-2022 MSHXW.COM
ICP备案号:晋ICP备2021003244-6号