Generate a random string.
public static getRandomString ( integer $length = 15, boolean $numeric = true, boolean $lowercase = true, boolean $uppercase = true, boolean $special = true ) : string | ||
$length | integer | Length of random string. |
$numeric | boolean | Use numeric characters. |
$lowercase | boolean | Use alphanumeric lowercase characters. |
$uppercase | boolean | Use alphanumeric uppercase characters. |
$special | boolean | Use special characters. |
return | string |