This is an old revision of the document!
PHP RFC: Your Title Here
Introduction
Both php_rand() and php_mt_rand() internal function provides pseudo random numbers. php_rand() uses system random function which has less randomness compare to MT rand. There are few places that use php_rand() currently.
These functions could use php_mt_rand() instead of php_rand() to improve randomness.
Most system uses random() function that has cycle of 16 *
1) uses php_rand(), NOT php_mt_rand().
Backward Incompatible Changes
Game that expects the same pseudo random sequences. These apps may use mt_srand() to get fixed random
sequences and adjust their apps if it is needed.
64 bit platforms get different pseudo random sequences.
Proposed PHP Version(s)
RFC Impact
To SAPIs
To Existing Extensions
To Opcache
New Constants
php.ini Defaults
If there are any php.ini settings then list:
None.
Open Issues
Determine rand() rename candidate.
Unaffected PHP Functionality
php_rand()/php_srand() remains. Therefore, modules that are using them are not affected.
Future Scope
Proposed Voting Choices
VOTE: 2014/XX/XX - 2014/XX/XX
Thank you for voting!
State whether this project requires a 2/3 or 50%+1 majority (see voting)
Patches and Tests
Implementation
After the project is implemented, this section should contain
the version(s) it was merged to
a link to the git commit(s)
a link to the PHP manual entry for the feature
References
Links to external references, discussions or RFCs
Rejected Features
Keep this updated with features that were discussed on the mail lists.