解决array_rand在php7及php8中不生效问题

使用

array_keys + shuffle

解决。

例子:

$theRandListArray = array_keys($RadioListArray[$questionID]);
shuffle($theRandListArray);
foreach ($theRandListArray as $theRandRadioID) {
   $theRadioListArray[$theRandRadioID] = $RadioListArray[$questionID][$theRandRadioID];
}