History log of /PHP-7.1/ext/standard/rand.c (Results 51 – 75 of 119)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: RELEASE_0_9, php-5.1.0b3, php-4.4.0, php-4.4.0RC2, php-5.1.0b2, php-4.4.0RC1, php-5.1.0b1, php-5.0.1b1, RELEASE_0_3, php-5.0.4, php-4.3.11, php-5.0.4RC2, php-4.3.11RC2, php-5.0.4RC1, php-4.3.11RC1, RELEASE_0_2_4, RELEASE_0_2_3, RELEASE_0_2_2, RELEASE_0_2_1, RELEASE_0_2, php-5.0.3, php-4.3.10, SQLITE_4_3_20041227, php-5.0.3RC2, php-4.3.10RC2, php-5.0.3RC1, php-4.3.10RC1, PRE_NEW_VM_GEN_PATCH
# cc45f504 25-Sep-2004 Anantha Kesari H Y

removing the unwanted inclusion of headers


Revision tags: php-5.0.2, php-4.3.9, php-5.0.2RC1, php-4.3.9RC3, PRE_ZEND_VM_DISPATCH_PATCH, php-4.3.9RC2, php-5.0.1, php-5.0.1RC2, php-4.3.9RC1, php-5.0.1RC1, RELEASE_0_1, php-5.0.0RC4, php-5.0.0, php-4.3.8, php-5.0.0RC3, php-5.0.0RC3RC2, php-4.3.7, php-5.0.0RC3RC1, php-4.3.7RC1, RELEASE_0_1_1, php-5.0.0RC2, php-5.0.0RC2RC2, php-4.3.6, php-5.0.0RC2RC1, php-4.3.6RC3, php-4.3.6RC2, php-4.3.6RC1, php-4.3.5, php-4.3.5RC4, php-5.0.0RC1, php-5.0.0RC1RC2, php-5.0.0RC1RC1, RELEASE_0_2_0, php-4.3.5RC3, php-5.0.0b4, php-5.0.0b4RC1, php-4.3.5RC2, RELEASE_1_3b6, php_ibase_before_split
# e0782e25 19-Jan-2004 foobar

- 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 al

- 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..

show more ...


Revision tags: php-4.3.5RC1
# dbeb4158 08-Jan-2004 Andi Gutmans

- A belated happy holidays and PHP 5


# d2b89ae3 06-Jan-2004 Ilia Alshanetsky

Revert proto 'fix'.


# 10889a30 06-Jan-2004 Ilia Alshanetsky

Proto fixes.


Revision tags: php-5.0.0b3, php-5.0.0b3RC2, php-5.0.0b3RC1, php-4.3.4, php-4.3.4RC3, php-5.0.0b2, RELEASE_2_0_0RC1, php-5.0.0b2RC1, php-4.3.4RC2, RELEASE_1_3b3, BEFORE_HANDLERS_RESHUFFLE, RELEASE_1_3b2, php-4.3.4RC1, RELEASE_0_7, php-4.3.3, php-4.3.3RC4
# 9a2a0aa5 11-Aug-2003 foobar

- Fixed bug #25007 (rand() & mt_rand() seed RNG every call).
# Also cleaned up the code a bit with this fix.


Revision tags: RELEASE_0_5_3, php-4.3.3RC3, RELEASE_0_5_2, RELEASE_1_2b5, BEFORE_ARG_INFO, php-4.3.3RC2, php-5.0.0b1, php-4.3.3RC1
# f68c7ff2 10-Jun-2003 James Cox

updating license information in the headers.


Revision tags: BEFORE_FD_REAPPLY, php-4.3.2, php-4.3.2RC4, BEFORE_FD_REVERT, php-4.3.2RC3, RELEASE_0_9b, SPL_ALPHA, php-4.3.2RC2, RELEASE_0_6, RELEASE_0_5, init, php-4.3.2RC1
# 4934744b 17-Feb-2003 Zeev Suraski

Win32 build improvements


Revision tags: php-4.3.1, PHP_5_0_dev_before_13561_fix, PHP_4_3_before_13561_fix
# b506f5c8 31-Dec-2002 Sebastian Bergmann

Bump year.


Revision tags: php-4.3.0, php-4.3.0RC4, RELEASE_1_0b3, php-4.3.0RC3, php-4.3.0RC2, RELEASE_1_0b2, BEFORE_RENAMING, php-4.3.0RC1, php-4.3.0pre2, RELEASE_1_0b1, php-4.3.0pre1, MODERN_SYMMETRIC_SESSION_BEHAVIOUR_20021003, RELEASE_0_91, php-4.3.0dev_zend2_alpha3
# 338332c7 06-Sep-2002 Anantha Kesari H Y

NetWare related changes/modifications


Revision tags: php-4.2.3, php-4.2.3RC2, php-4.2.3RC1, dev, php-4.2.2, INITIAL_IMPORT_SOURCEFORGE, xmlrpc_epi_0_51_merge_pt, php-4.3.0dev_zend2_alpha2, php-4.3.0dev, php5_5_0
# 5f3a9ebf 09-Jun-2002 Andrei Zmievski

Make RAND_RANGE() an API macro.


Revision tags: RELEASE_0_90, php-4.3.0dev_zend2_alpha1, BEFORE_OBJECTS_STORE, SAFEGUARD_3_0_BETA1_RC1_26062002, RELEASE_0_11, NEW_UI_API_BP, RELEASE_0_10, RELEASE_0_4, php-4.3.0dev-ZendEngine2, php-4.3.0dev-ZendEngine2-Preview1, php-4.2.1, php-4.2.1RC2, php-4.2.1RC1, php-4.2.0, php-4.2.0RC4, php-4.2.0RC3, php-4.2.0RC2, php-4.2.0RC1, help
# 90613d22 28-Feb-2002 Sebastian Bergmann

Maintain headers.


Revision tags: php-4.1.2, BEFORE_NEW_OBJECT_MODEL, PRE_ISSET_PATCH, php-4.1.1, PRE_FUNC_RETURNS_OBJECT_PATCH, ChangeLog
# 38933514 11-Dec-2001 Sebastian Bergmann

Update headers.


Revision tags: php-4.1.0, php-4.1.0RC5, php-4.1.0RC4, php-4.1.0RC3, php-4.1.0RC2, POST_PARAMETER_PARSING_API, PRE_PARAMETER_PARSING_API, php-4.1.0RC1
# 3a50a032 07-Oct-2001 Sterling Hughes

@ Have rand() and mt_rand() seed automatically if srand() or mt_srand() has
@ not been called. (Sterling)


Revision tags: php4, php-4.0.7RC3, POST_SUBST_Z_MACROS, PRE_SUBST_Z_MACROS
# 80924608 18-Sep-2001 Sterling Hughes

hopefully fix win32 compile warnings

# I really wish i had a box to compile php with win32 on


# 97fea093 16-Sep-2001 Sterling Hughes

Make rand thread safe when ZTS is defined.


# 96763e83 16-Sep-2001 Sterling Hughes

Hopefully fix compile warnings on win32 systems


# 47f3851a 16-Sep-2001 Sterling Hughes

for the daft folks that think 0 is a good seed.


# 373fc12b 16-Sep-2001 Sterling Hughes

@ Make the seed options to srand() and mt_srand() optional, if the seed is
@ not specified, the generate the most random seed possible. (Sterling)

Please, if anyone has any comments on t

@ Make the seed options to srand() and mt_srand() optional, if the seed is
@ not specified, the generate the most random seed possible. (Sterling)

Please, if anyone has any comments on the way I generate this seed, speak up!
This seems to be the most "random" seed I could come up with...

This commit is 100% backwards compatible :)

Add myself to the authors list cause of recent work on the file

show more ...


# 78747bd2 09-Sep-2001 Derick Rethans

- Don't wrap lines... this is annoying while coding.


# 6963ac40 09-Sep-2001 Sterling Hughes

export the mt rand functions...


Revision tags: php-4.0.7RC2
# 33fc6e2d 06-Sep-2001 Sterling Hughes

add missing )


# 8a156d9a 06-Sep-2001 Sterling Hughes

fix ms compile warnings


# 903c831b 06-Sep-2001 Sterling Hughes

spaces -> tabs work cont.


# a4c905ff 06-Sep-2001 Sterling Hughes

ws fix


12345