Returns a random string with alpha-numeric characters.
public static generateRandomString ( integer $count, string $characters = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789' ) : string | ||
$count | integer | Number of characters to generate |
$characters | string | Allowed characters, defaults to alpha-numeric (a-zA-Z0-9) |
return | string | A random string |