Skip to content

Commit ef72b8f

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Make 045.phpt busy wait
2 parents 8e411fe + b1b98e0 commit ef72b8f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

tests/lang/045.phpt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@ set_time_limit(1);
1313
register_shutdown_function("plop");
1414

1515
function plop() {
16-
$ts = time();
17-
while(true) {
18-
if ((time()-$ts) > 2) {
19-
echo "Failed!";
20-
break;
21-
}
22-
}
16+
while (true);
2317
}
2418
plop();
2519
?>

0 commit comments

Comments
 (0)