Stajor
Results
1
comments of
Stajor
My solution ``` public function getRandomNode() { if (empty($this->nodes)) throw new ClusterException('Node list is empty.'); $array_random_assoc = function($arr, $num = 1) { $keys = array_keys($arr); shuffle($keys); $r = array(); for...