Less than 1 minute
str_random
Generate a truly random string of characters.
public str_random({Array})
Parameters
Parameter | Type | Description |
---|---|---|
$length | mixed | the length of the random string being created |
$include_special | boolean | Whether or not special characters. Normally only Aa-Zz, 0-9 are used. If TRUE will include |
characters such as #, $, etc. This can also be a string of characters to use. |
Generated by Hazaar API Doc Generator