您的位置: 首页 > 文章 > thinkphp6.0之验证内置规则 thinkphp6.0之验证内置规则 分类: 文章 • 2022-10-07 23:47:59 一、内置规则 1、内置的规则内容比较多,并且严格区分大小写 2、静态方法支持两种形式,比如::number 或者isNumber均可 3、require是php保留字,就要使用isRequire或must() 4、格式验证类 5、长度和区间验证类 6、字段比较类 7、其它验证类