summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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();
?>