diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-29 10:14:35 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-04-29 10:14:35 +0200 |
commit | ef72b8f4ac9daf71244e82af623e912b770431e9 (patch) | |
tree | 3b7f9c7af987054610a33c34f8772c9175e49c4a /tests | |
parent | 8e411fe54ed27c2601133ebc798bed634f556b00 (diff) | |
parent | b1b98e08d0ad4bbbb213c002188ffa47075a8b0d (diff) | |
download | php-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.phpt | 8 |
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(); ?> |