throw $e;
}
- \usleep(\mt_rand(0, .1e6)); // 0 to .1 seconds
+ \usleep(\random_int(0, .1e6)); // 0 to .1 seconds
}
}
}
break;
}
- \usleep(\mt_rand(0, .1e6)); // 0 to .1 seconds
+ \usleep(\random_int(0, .1e6)); // 0 to .1 seconds
}
}
$this->resetFields = $this->updateFields = [];
break;
}
- \usleep(\mt_rand(0, .1e6)); // 0 to .1 seconds
+ \usleep(\random_int(0, .1e6)); // 0 to .1 seconds
}
}
}
{
$hash = StringUtil::getRandomID();
- return \substr($hash, 0, \mt_rand(8, 16));
+ return \substr($hash, 0, \random_int(8, 16));
}
}