diff options
| author | Stanislav Malyshev <stas@php.net> | 2014-10-14 00:43:15 -0700 |
|---|---|---|
| committer | Stanislav Malyshev <stas@php.net> | 2014-10-14 00:43:15 -0700 |
| commit | afdaedaa268197631e210772609fd1f7928f9973 (patch) | |
| tree | cdd8c7c6c7dc7fb1ac41b3a5628efbd0bd503183 /ext/gmp/php_gmp.h | |
| parent | 2842766d7f677c54dcd0be390f292482d61ad4ae (diff) | |
| parent | 4773c1dfdc10b2175422b4fda83a48e4792b90a1 (diff) | |
| download | php-git-afdaedaa268197631e210772609fd1f7928f9973.tar.gz | |
Merge branch 'PHP-5.6'
* PHP-5.6:
update NEWS and UPGRADING
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
Conflicts:
ext/gmp/gmp.c
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 59485dd5b7..f9bc0f3269 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); |
