Change PHP 5.4 array syntax to standard syntax.
Namespace-hack the array_rand function.

I was fairly certain srand() wouldn't be repeatable on different
machines, but it was worth the try.  For now, this hacked array_rand
function will work, although as more gets added, it's likely I'll want
to switch to a DI-based RNG so that we can properly mock things.