From: Marcus Boerger Date: Fri, 15 Nov 2002 14:48:55 +0000 (+0000) Subject: MFH: Only show the first results X-Git-Tag: php-4.3.0RC2~151 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9c5c16839470088d428a2ffb4f178be4eeadcbe7;p=php MFH: 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;