diff options
Diffstat (limited to 'tests/basic/timeout_variation_4.phpt')
-rw-r--r-- | tests/basic/timeout_variation_4.phpt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/basic/timeout_variation_4.phpt b/tests/basic/timeout_variation_4.phpt index e54c8d67d5..98f4d6ca8e 100644 --- a/tests/basic/timeout_variation_4.phpt +++ b/tests/basic/timeout_variation_4.phpt @@ -13,7 +13,10 @@ set_time_limit($t); function hello ($t) { echo "call", PHP_EOL; + $startTime = microtime(true); busy_wait($t*2); + $diff = microtime(true) - $startTime; + echo "time spent waiting: $diff\n"; } call_user_func('hello', $t); |