Use array_rand to pick a random element, rather than shuffling and taking the first

Simpler, a little less work.