random_str()
public static function random_str( $length=64 )
Generate a random string, using a cryptographically secure
pseudorandom number generator (random_int) or a random number generator (rand())
Since: 2.4.21
Source: common.php:7848
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
$length | int | 64 | How many characters do we want? |
Returns
string