Method: v::passwords
Checks for two valid, matching password
Info
Syntax
v::passwords($password1, $password2)
Parameters
- $password1 (string)
- $password2 (string)
Return (boolean)
Example
if(v::passwords('u', 'u')) echo 'The passwords are valid';
// btw: they are entered correctly twice, but too short