diff options
| author | Stanislav Malyshev <stas@php.net> | 2014-10-14 00:33:16 -0700 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2014-10-14 00:33:16 -0700 |
| commit | 8615e429426557be7752c865b8f7364146196adf (patch) | |
| tree | 03693ca93b9e98506c85caa19ae50f53a37db88c /ext/gmp/php_gmp.h | |
| parent | 7acba332fe96e5da6ad3165d0699b9e4e65d94fa (diff) | |
| parent | 106fab00bc57e79bc95f9772f6c283dc89a11169 (diff) | |
| download | php-git-8615e429426557be7752c865b8f7364146196adf.tar.gz | |
Merge branch 'pull-request/839' into PHP-5.6
* pull-request/839:
Upated NEWS
Address issues raised by @nikic
Make sure min < max
Mersenne Twister was added in GMP 4.2
Add test files
Add gmp_random_bits(bits) and gmp_random_range(min, max)
Change GMPs default PRNG to Mersenne Twister
Diffstat (limited to 'ext/gmp/php_gmp.h')
| -rw-r--r-- | ext/gmp/php_gmp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/gmp/php_gmp.h b/ext/gmp/php_gmp.h index b3706c534d..a1a1dc262f 100644 --- a/ext/gmp/php_gmp.h +++ b/ext/gmp/php_gmp.h @@ -66,6 +66,8 @@ ZEND_FUNCTION(gmp_or); ZEND_FUNCTION(gmp_com); ZEND_FUNCTION(gmp_xor); ZEND_FUNCTION(gmp_random); +ZEND_FUNCTION(gmp_random_bits); +ZEND_FUNCTION(gmp_random_range); ZEND_FUNCTION(gmp_setbit); ZEND_FUNCTION(gmp_clrbit); ZEND_FUNCTION(gmp_scan0); |
