History log of /PHP-7.2/ext/standard/random.c (Results 26 – 29 of 29)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: php-5.6.11RC1, php-5.5.27RC1, php-7.0.0alpha2, php-5.5.26, php-7.0.0alpha1, php-5.6.10, php-5.4.42, POST_PHP7_NSAPI_REMOVAL, PRE_PHP7_NSAPI_REMOVAL, php-5.6.10RC1, php-5.5.26RC1, php-5.5.25, php-5.6.9, php-5.4.41
# cf7e5357 10-May-2015 Lauri Kenttä

random_int: Fix power of two check.

(x & ~x) is always 0.
((x & (~x + 1)) != x) works.
((x & (x - 1)) != 0) works too.


# dd269262 09-May-2015 SammyK

Add tests for CSPRNG, fix C99 comments

Also replace one return; with RETURN_FALSE; for consistency.


Revision tags: php-5.6.9RC1, php-5.5.25RC1, php-5.6.8, php-5.5.24, php-5.4.40, php-5.6.8RC1, php-5.5.24RC1, php-5.6.7, php-5.5.23, php-5.4.39, php-5.6.7RC1, php-5.5.23RC1, POST_PHP7_EREG_MYSQL_REMOVALS, PRE_PHP7_EREG_MYSQL_REMOVALS
# 5f1b83e9 21-Feb-2015 Leigh

Improve CSPRNG implementation


Revision tags: php-5.6.6, php-5.5.22, php-5.4.38
# bc54d139 13-Feb-2015 SammyK

Initial implementation for CSPRNG API


12