PHP lcg_value() function
Complete PHP Math Reference
Definition and Usage
The lcg_value() function returns a pseudo random number in the range of 0 and 1.
Syntax
Example
<?php
echo lcg_value();
?>
|
The output of the code above could be:
Complete PHP Math Reference
|
|
|