WireRandom::arrayKey()

Get a random key from given array

Usage

$string = $wireRandom->arrayKey(array $a);

Arguments

NameType(s)Description
$aarray

Return value

string int


WireRandom methods and properties

API reference based on ProcessWire core version 3.0.252