Lggr
79907610

Returns a random integer with 0 to $nbDigits digits.

The maximum value returned is mt_getrandmax()

Parameters
integer$nbDigitsDefaults to a random number between 1 and 9
boolean$strictWhether the returned number should have exactly $nbDigits
Returns
integer