Text
Table of Contents
- hasMax() : bool
- Test string for max length
- hasMin() : bool
- Test string for min length
- isEmail() : bool
- Test string for email address
Methods
hasMax()
Test string for max length
public
static hasMax(int $lim, string $str) : bool
Parameters
- $lim : int
- $str : string
Return values
bool —hasMin()
Test string for min length
public
static hasMin(int $lim, string $str) : bool
Parameters
- $lim : int
- $str : string
Return values
bool —isEmail()
Test string for email address
public
static isEmail(string $email) : bool
Parameters
- $email : string