]> granicus.if.org Git - php/commit
Merge RNG fixes RFC. PR #1986
authorLeigh <leigh@php.net>
Sun, 17 Jul 2016 16:05:10 +0000 (16:05 +0000)
committerLeigh <leigh@php.net>
Sun, 17 Jul 2016 16:05:10 +0000 (16:05 +0000)
commitab834f472f627664a74ce709a88188fb87b7e684
tree0afef29484faafa391b5b505f1014732184a7312
parent69f468239b924ff595bea950a39e42edcb222fee
parent027375d4c3a59b0f174b1beb70ba8f60efef6905
Merge RNG fixes RFC. PR #1986

* rng-fixes:
  Fix legacy mode RAND_RANGE and 32/64-bit consistency
  Fix crypt salt not being converted to b64
  Make mode selection part of mt_srand()
  Use zend_bitset
  Improve array_rand distribution
  Fix some insecure usages of php_rand
  Alias rand to mt_rand
  Fix RAND_RANGE for mt_rand
  Fix mt_rand impl. Provide legacy impl. access.
  Split rand and mt_rand into separate files
NEWS
UPGRADING
ext/standard/basic_functions.c