WireRandom::arrayValue()
Get a random value from given array
Usage
$mixed = $wireRandom->arrayValue(array $a);Arguments
| Name | Type(s) | Description |
|---|---|---|
$a | array | Array to get random value from |
Return value
mixed null
WireRandom methods and properties
API reference based on ProcessWire core version 3.0.253