I\'ve been looking on google for the answer but can\'t seem to find something fool-proof and cant really afford to mess this up (going live into a production site).
As of 5.3.0 you could do:
uksort($array, function() { return rand() > rand(); });