REGEXP_EMAIL
REGEXP_EMAIL
Properties
A helper to validate variables.
check(mixed $value, string $rules, boolean $throws = false) : boolean
Check if a value matches rules or throw exception.
| mixed | $value | to check |
| string | $rules | to apply when checking value |
| boolean | $throws | set to true to throw exception when check fails |
when check fails
true or false