diff options
author | Leigh <leigh@php.net> | 2016-08-10 23:32:32 +0100 |
---|---|---|
committer | Leigh <leigh@php.net> | 2016-08-10 23:32:32 +0100 |
commit | 9a9004318fa3a5b2c2c3c4a4fafed9ad4767df4a (patch) | |
tree | 23a54936a7006cf9c96970d168f1597923621890 /ext/standard/php_math.h | |
parent | 24fdffdacbfeaa20e8f08d44c7c61e3fb7ba9ac5 (diff) | |
download | php-git-9a9004318fa3a5b2c2c3c4a4fafed9ad4767df4a.tar.gz |
Preserve BC for rand() AND mt_rand() where min > max
Diffstat (limited to 'ext/standard/php_math.h')
-rw-r--r-- | ext/standard/php_math.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_math.h b/ext/standard/php_math.h index 9798db8422..bc5b5125ee 100644 --- a/ext/standard/php_math.h +++ b/ext/standard/php_math.h @@ -45,6 +45,7 @@ PHP_FUNCTION(is_infinite); PHP_FUNCTION(is_nan); PHP_FUNCTION(pow); PHP_FUNCTION(sqrt); +PHP_FUNCTION(rand); PHP_FUNCTION(mt_srand); PHP_FUNCTION(mt_rand); PHP_FUNCTION(mt_getrandmax); |