메소드 |
설명 |
|
__construct ( integer $seed ) |
|
|
getSeed ( ) |
|
|
nextBoolean ( ) : boolean |
Returns a random boolean |
|
nextBoundedInt ( $bound ) |
|
|
nextFloat ( ) : float |
Returns a float between 0.0 and 1.0 (inclusive) |
|
nextInt ( ) : integer |
Returns an 31-bit integer (not signed) |
|
nextRange ( integer $start, integer $end = 2147483647 ) : integer |
Returns a random integer between $start and $end |
|
nextSignedFloat ( ) : float |
Returns a float between -1.0 and 1.0 (inclusive) |
|
nextSignedInt ( ) : integer |
Returns a 32-bit integer (signed) |
|
setSeed ( integer $seed ) |
|
|