]> granicus.if.org Git - php/commit
- Moved php_srand() call into php_rand().
authorfoobar <sniper@php.net>
Mon, 19 Jan 2004 03:14:58 +0000 (03:14 +0000)
committerfoobar <sniper@php.net>
Mon, 19 Jan 2004 03:14:58 +0000 (03:14 +0000)
commite0782e2519ef2cfeeace3f733f8bd0ce71b38aa6
tree7aab5425244f90bc1b15114a484da84bf4c228c2
parentdce4e4c4b26f14be566e8d254434b21b04db710a
- Moved php_srand() call into php_rand().

# Makes shuffle() and str_shuffle() to be random without having to
# call srand() in scripts.
# They don't internally call php_srand() at all and it would be silly
# to start adding php_srand() calls all over the place..
ext/standard/crypt.c
ext/standard/rand.c