summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.h
diff options
context:
space:
mode:
authorLeigh <leigh@php.net>2016-07-05 11:54:07 +0100
committerLeigh <leigh@php.net>2016-07-05 11:54:07 +0100
commit7981a294bd2fb329d404001c369517e2953b92a6 (patch)
treef1d47a0087e106a4bb8aadc7d6a567d9f38bef34 /ext/standard/basic_functions.h
parenteba6e7ce9ac721b072ee3afb1cae883b774f3714 (diff)
downloadphp-git-7981a294bd2fb329d404001c369517e2953b92a6.tar.gz
Fix mt_rand impl. Provide legacy impl. access.
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r--ext/standard/basic_functions.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h
index bef446d60b..c3b6cedf6d 100644
--- a/ext/standard/basic_functions.h
+++ b/ext/standard/basic_functions.h
@@ -200,6 +200,7 @@ typedef struct _php_basic_globals {
zend_bool rand_is_seeded; /* Whether rand() has been seeded */
zend_bool mt_rand_is_seeded; /* Whether mt_rand() has been seeded */
+ zend_long mt_rand_mode;
/* syslog.c */
char *syslog_device;