Home » Community » People » leigh »
leigh

leigh

Contributor Directory

RFCs

Language and policy proposals from this contributor
RFCs are part of the process by which decisions are made about PHP. For more information about the RFC process as well as viewing a full list of RFCs please visit the RFC section.

RNG fixes and changes

Author
Target
7.1
There are several long standing issues with random number generation that should be addressed:

Fix mt_rand() implementation

Yes
No
Yes
19 Votes (79%)
No
5 Votes (21%)

Alias rand() to mt_rand()

Yes
No
Yes
21 Votes (84%)
No
4 Votes (16%)

Fix RAND_RANGE()

Yes
No
Yes
25 Votes (100%)
No
0 Votes (0%)

Replace insecure uses of php_rand() with php_random_bytes()

Yes
No
Yes
23 Votes (100%)
No
0 Votes (0%)

Make array_rand() more efficient

Yes
No
Yes
24 Votes (100%)
No
0 Votes (0%)