mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Merge branch 'PHP-7.4'
This commit is contained in:
commit
f01c7e959f
@ -2,9 +2,9 @@
|
||||
|
||||
$t = 3;
|
||||
|
||||
function busy_wait($how_long)
|
||||
{
|
||||
$until = microtime(TRUE) + $how_long;
|
||||
|
||||
while ($until > microtime(TRUE));
|
||||
function busy_wait($how_long) {
|
||||
$until = microtime(true) + $how_long;
|
||||
do {
|
||||
for ($i = 0; $i < 1000000; $i++);
|
||||
} while ($until > microtime(true));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user