We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1adb7a + 1792ade commit b8c0e17Copy full SHA for b8c0e17
ext/standard/tests/general_functions/usleep_basic.phpt
@@ -27,17 +27,16 @@ usleep($sleeptime);
27
$time_end = microtime(true);
28
$time = ($time_end - $time_start) * 1000 * 1000;
29
30
-echo "Thread slept for " . $time . " micro-seconds\n";
+$summary = "Thread slept for " . $time . " micro-seconds\n";
31
32
if ($time >= $sleeplow) {
33
- echo "TEST PASSED\n";
+ echo "TEST PASSED: $summary";
34
} else {
35
- echo "TEST FAILED\n";
+ echo "TEST FAILED: $summary";
36
}
37
?>
38
===DONE===
39
--EXPECTF--
40
*** Testing usleep() : basic functionality ***
41
-Thread slept for %f micro-seconds
42
-TEST PASSED
+TEST PASSED: Thread slept for %f micro-seconds
43
0 commit comments