Merge branch 'PHP-7.4'

This commit is contained in:
Nikita Popov 2019-07-08 13:36:26 +02:00
commit f01c7e959f

View File

@ -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));
}