mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
relax test failing in fast computer
This commit is contained in:
parent
d896878ad5
commit
d11211fb53
1 changed files with 4 additions and 2 deletions
|
@ -11,7 +11,9 @@ for ( $i = 0; $i < 1000; $i++ )
|
|||
$collect[$key] = true;
|
||||
}
|
||||
|
||||
echo ( count( $collect ) > 990 ) ? "microseconds differ\n" : "microseconds do not differ enough\n";
|
||||
var_dump($n = count( $collect ));
|
||||
echo ( $n > 900 ) ? "microseconds differ\n" : "microseconds do not differ enough\n";
|
||||
?>
|
||||
--EXPECT--
|
||||
--EXPECTF--
|
||||
int(%d)
|
||||
microseconds differ
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue