Browse Source

- Make sure srand() / mt_srand() are really called.

PEAR_1_4DEV
foobar 22 years ago
parent
commit
dde4c166c9
  1. 3
      ext/standard/basic_functions.c

3
ext/standard/basic_functions.c

@ -919,6 +919,9 @@ static void php_putenv_destructor(putenv_entry *pe)
static void basic_globals_ctor(php_basic_globals *basic_globals_p TSRMLS_DC)
{
BG(rand_is_seeded) = 0;
BG(mt_rand_is_seeded) = 0;
BG(next) = NULL;
BG(left) = -1;
BG(user_tick_functions) = NULL;

Loading…
Cancel
Save