Php program question | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Php program question

Write a PHP function that checks the elements of a string array named $Passwords. Use regular expressions to test whether each element is a strong password . A strong password must have at least one number, one lowercase letter, one uppercase letter, no spaces, and at least one character that is not a letter or number. The string should also be between 8 and 16 characters long. Write a PHP program that will test the function. The program should display a message with the details regarding the structure of each password in the array (e.g. the password is strong, the password is missing the special character, etc). Please help me to code the most complete. I really need you help. Thank you very much

18th Mar 2021, 12:07 PM
Satyam Patel
Satyam Patel - avatar
1 Answer
+ 2
share your coding attempt in order to get helped: we are not code providers ^^
18th Mar 2021, 12:12 PM
visph
visph - avatar