Question: Study the class below: class Validate { private static $usernameExp = / ^ [ [ :lower: ] ] { 4 } $ /
Study the class below:
class Validate
private static $usernameExp :lower:$;
private static $passwordExp :digit:$;
public static function checkUsername$un
return pregmatchself::$usernameExp,$un;
public static function checkPassword$pd
return pregmatchself::$passwordExp,$pd;
Which of the following is correct with respect to this class?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
