This commit is contained in:
iyuu.cn
2020-08-01 22:43:39 +08:00
parent 289df1e126
commit 419b6eb8cd
2 changed files with 293 additions and 251 deletions

View File

@ -456,3 +456,12 @@ function isWin()
{
return (DIRECTORY_SEPARATOR == '\\') ? true : false;
}
function sleepIYUU($t, $msg)
{
echo $msg . PHP_EOL;
do {
echo microtime(true).$msg.' '.$t.'秒后继续...'.PHP_EOL;
sleep(1);
} while (--$t > 0);
}