From: Marcus Boerger Date: Fri, 15 Nov 2002 14:46:52 +0000 (+0000) Subject: Only show the first results X-Git-Tag: RELEASE_1_0b2~223 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8c598f8bff5ad12ff78199ebefd312a4df683f0b;p=php Only show the first results --- diff --git a/ext/standard/tests/time/001.phpt b/ext/standard/tests/time/001.phpt index 98a8405e86..e1a422957c 100644 --- a/ext/standard/tests/time/001.phpt +++ b/ext/standard/tests/time/001.phpt @@ -16,8 +16,7 @@ for ($i=1;$i<=100000;$i++) { list($micro,$time)=explode(" ",microtime()); if ($time > $last_t || ($time == $last_t && $micro > $last_m)) { $passed++; - } else { - $failed++; + } else if ($failed++ <=10) { $result .= sprintf('%06d', $i).": $time $micro < $last_t $last_m\n"; } $last_m = $micro;