WireRandom::arrayKey() method
Get a random key from given array
Usage
$string = $rand->arrayKey(array $a);Arguments
| Name | Type(s) | Description |
|---|---|---|
$a | array |
Return value
string int
API reference based on ProcessWire core version 3.0.257