diff options
Diffstat (limited to 'ext/standard/php_mt_rand.h')
-rw-r--r-- | ext/standard/php_mt_rand.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/php_mt_rand.h b/ext/standard/php_mt_rand.h index 9d926b5538..bf0f6c20a1 100644 --- a/ext/standard/php_mt_rand.h +++ b/ext/standard/php_mt_rand.h @@ -25,6 +25,9 @@ #ifndef PHP_MT_RAND_H #define PHP_MT_RAND_H +#include "php_lcg.h" +#include "php_rand.h" + #define PHP_MT_RAND_MAX ((zend_long) (0x7FFFFFFF)) /* (1<<31) - 1 */ #define MT_RAND_MT19937 0 @@ -32,6 +35,7 @@ PHPAPI void php_mt_srand(uint32_t seed); PHPAPI uint32_t php_mt_rand(void); +PHPAPI zend_long php_mt_rand_range(zend_long min, zend_long max); PHP_MINIT_FUNCTION(mt_rand); |