rfc:rng_extension

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
rfc:rng_extension [2022/02/14 10:42]
zeriyoshi update 4.0
rfc:rng_extension [2022/02/14 14:28]
zeriyoshi fix stringShuffle -> shuffleString
Line 4: Line 4:
   * Author: Go Kudo <zeriyoshi@gmail.com> <g-kudo@colopl.co.jp>   * Author: Go Kudo <zeriyoshi@gmail.com> <g-kudo@colopl.co.jp>
   * Status: Under Discussion   * Status: Under Discussion
-  * Implementation: https://github.com/php/php-src/pull/XXXX+  * Implementation: https://github.com/php/php-src/pull/8094
   * First Published at: http://wiki.php.net/rfc/object_scope_prng   * First Published at: http://wiki.php.net/rfc/object_scope_prng
  
Line 101: Line 101:
 $randomizer = new Random\Randomizer(new Random\NumberGenerator\MersenneTwister(1234, MT_RAND_PHP)); $randomizer = new Random\Randomizer(new Random\NumberGenerator\MersenneTwister(1234, MT_RAND_PHP));
 foobar(); foobar();
-$result = $randomizer->stringShuffle('foobar');+$result = $randomizer->shuffleString('foobar');
 </code> </code>
  
Line 189: Line 189:
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
-  * https://github.com/php/php-src/pull/XXXX+  * https://github.com/php/php-src/pull/8094
rfc/rng_extension.txt · Last modified: 2022/08/01 16:52 by timwolla