46        list($usec, $sec) = explode(
' ', microtime());
 
   47        return (
int) ($sec + ($usec * 100000));
 
   56        return hexdec(substr(md5($string), 0, 10));
 
  105        $shuffledArray = array();
 
  107        while (count($orderedArray) > 0) {
 
  108            $key = mt_rand(0, (count($orderedArray) - 1));
 
  109            $splice = array_splice($orderedArray, 
$key, 1);
 
  110            $shuffledArray[] = current($splice);
 
  113        return $shuffledArray;
 
  121        return function_exists(
'mt_srand') && function_exists(
'mt_rand');
 
An exception for terminatinating execution or to throw for unit testing.
isMtRandomizerAvailable()
buildSeedFromString($string)