Answered step by step
Verified Expert Solution
Question
1 Approved Answer
using PHP, Create a function named checkPassword that does the following: 1. Receives as a parameter a password. 2. Uses functions and Regular Expressions to
using PHP, Create a function named checkPassword that does the following:
1. Receives as a parameter a password.
2. Uses functions and Regular Expressions to check the rules for a password.
3. If the password is invalid, return a string that contains the password and a description of why it is invalid.
4. Returns TRUE Boolean value if the password is valid.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started