Function __global->test_password
Definitions
sources/password_rules.php
- Test password strength.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$password | string | required parameter | N/A | N/A | The password to check |
$username | string | Blank (empty string) | N/A | N/A | The username that will go with the password (blank: unknown) |
$email_address | Blank (empty string) | N/A | N/A | The e-mail address that will go with the password (blank: unknown) | |
$dob | ?TIME | Null | N/A | N/A | The date of birth that will go with the password (null: unknown) |
Return
- Password strength (1-10)
- Type: integer
- Set: N/A
- Range: N/A