diff options
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r-- | ext/standard/basic_functions.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h index 89bfe7af4e..27d9cf472c 100644 --- a/ext/standard/basic_functions.h +++ b/ext/standard/basic_functions.h @@ -174,7 +174,10 @@ typedef struct { php_uint32 *next; /* next random value is computed from here */ int left; /* can *next++ this many times before reloading */ - unsigned int rand_seed; /* Seed for rand() */ + unsigned int rand_seed; /* Seed for rand(), in ts version */ + + zend_bool rand_is_seeded; /* Whether rand() has been seeded */ + zend_bool mt_rand_is_seeded; /* Whether mt_rand() has been seeded */ /* syslog.c */ int syslog_started; |