Re: [RFC] [Under Discussion] Random Extension Improvement

From: Date: Wed, 22 Jun 2022 14:35:21 +0000
Subject: Re: [RFC] [Under Discussion] Random Extension Improvement
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-118048@lists.php.net to get a copy of this message
2022年6月18日(土) 4:42 Go Kudo <g-kudo@colopl.co.jp>: > Hi internals. > > An RFC has been created to fix an issue in Random Extension 5.x. > > https://wiki.php.net/rfc/random_extension_improvement > > Voting on this RFC will begin in two weeks (2022-07-02), in time for the > PHP 8.2 Feature Freeze. (Vote finished in 2022-07-16, Feature Freeze is > 2022-07-19) > > In the unlikely event that the Random Extension 5.x RFC is rejected, this > RFC will become invalid regardless of the outcome of the vote. > > Best regards > Go Kudo > Hi No additional comments seemed to be forthcoming, so the RFC was upgraded to 1.5. The following changes have been made https://wiki.php.net/rfc/random_extension_improvement 1. Add: Refine classnames 2. Add: Random\SerializableEngine is outdated 3. Add `Add Randomizer::pickArrayKeys(array $array, int $num): array method` *1 4. Add Random\SerializableEngine is outdated 5. Remove: PCG64 is ambiguous (replaced by 1) 6. Remove: Mersenne Twister is ambiguous (replaced by 1) 7. Remove: Randomizer lacks array_rand() replacement method (replaced by 3) *1: Added with a little sample code. Regards Go Kudo

« previous php.internals (#118048) next »