summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-04-29 10:14:35 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-04-29 10:14:35 +0200
commitef72b8f4ac9daf71244e82af623e912b770431e9 (patch)
tree3b7f9c7af987054610a33c34f8772c9175e49c4a /tests
parent8e411fe54ed27c2601133ebc798bed634f556b00 (diff)
parentb1b98e08d0ad4bbbb213c002188ffa47075a8b0d (diff)
downloadphp-git-ef72b8f4ac9daf71244e82af623e912b770431e9.tar.gz
Merge branch 'PHP-7.4'
* PHP-7.4: Make 045.phpt busy wait
Diffstat (limited to 'tests')
-rw-r--r--tests/lang/045.phpt8
1 files changed, 1 insertions, 7 deletions
diff --git a/tests/lang/045.phpt b/tests/lang/045.phpt
index 44fb801410..e5299ae222 100644
--- a/tests/lang/045.phpt
+++ b/tests/lang/045.phpt
@@ -13,13 +13,7 @@ set_time_limit(1);
register_shutdown_function("plop");
function plop() {
- $ts = time();
- while(true) {
- if ((time()-$ts) > 2) {
- echo "Failed!";
- break;
- }
- }
+ while (true);
}
plop();
?>