rand

Definition

int rand ( [ int $min , int $max ] )

Description

If called without the optional min, max arguments rand() returns a pseudo-random integer between 0 and getrandmax(). If you want a random number between 5 and 15 (inclusive), for example, use rand(5, 15).

[More at php.net]

Parameters



loading


Share/bookmark - rand


Global comments