summaryrefslogtreecommitdiff
path: root/ext/standard/rand.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - A belated happy holidays and PHP 5Andi Gutmans2004-01-081-2/+2
|
* Revert proto 'fix'.Ilia Alshanetsky2004-01-061-2/+2
|
* Proto fixes.Ilia Alshanetsky2004-01-061-2/+2
|
* - Fixed bug #25007 (rand() & mt_rand() seed RNG every call).foobar2003-08-111-8/+6
| | | | | # Also cleaned up the code a bit with this fix.
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Win32 build improvementsZeev Suraski2003-02-171-7/+0
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* NetWare related changes/modificationsAnantha Kesari H Y2002-09-061-0/+4
|
* Make RAND_RANGE() an API macro.Andrei Zmievski2002-06-091-2/+0
|
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* @ Have rand() and mt_rand() seed automatically if srand() or mt_srand() hasSterling Hughes2001-10-071-2/+11
| | | | | @ not been called. (Sterling)
* hopefully fix win32 compile warningsSterling Hughes2001-09-181-2/+2
| | | | | # I really wish i had a box to compile php with win32 on
* Make rand thread safe when ZTS is defined.Sterling Hughes2001-09-161-8/+61
|
* Hopefully fix compile warnings on win32 systemsSterling Hughes2001-09-161-0/+9
|
* for the daft folks that think 0 is a good seed.Sterling Hughes2001-09-161-4/+4
|
* @ Make the seed options to srand() and mt_srand() optional, if the seed isSterling Hughes2001-09-161-6/+16
| | | | | | | | | | | | @ 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
* - Don't wrap lines... this is annoying while coding.Derick Rethans2001-09-091-2/+2
|
* export the mt rand functions...Sterling Hughes2001-09-091-13/+11
|
* add missing )Sterling Hughes2001-09-061-1/+1
|
* fix ms compile warningsSterling Hughes2001-09-061-1/+1
|
* spaces -> tabs work cont.Sterling Hughes2001-09-061-9/+9
|
* ws fixSterling Hughes2001-09-061-70/+72
|
* Fix ts buildSterling Hughes2001-09-051-4/+4
| | | | | | | # I've gotta start compiling --enable-experimental-zts... anyway we can make # this the default when compiling from cvs? It'll help a large portion of # compile issues with patches
* Straight out da bronx, I be using zend_parse_parameters()Sterling Hughes2001-09-051-32/+22
| | | | | # Word out to my peeps on Connor st.
* stray tabs and spacesSterling Hughes2001-09-051-2/+2
|
* change range macro semanticsSterling Hughes2001-09-051-3/+3
| | | | | # Kinda torn between the two, thoughts?
* remove inlineSterling Hughes2001-09-051-1/+1
|
* a bit of api cleanup... move range stuff into a macro (properly :)Sterling Hughes2001-09-051-95/+73
|
* revert bad commit.foobar2001-09-051-226/+269
|
* fix zts+win32 buildDaniel Beulshausen2001-09-041-9/+12
|
* - Fix broken buildDerick Rethans2001-09-031-1/+1
| | | | | #- Please test before commit!
* Kill some warnings/errors (reported by Sebastian, more to come, butJeroen van Wolffelaar2001-09-031-4/+7
| | | | | could take some time. Update of ZTS-builderrors is welcome)
* Fix SIGSEGV because HAS_SRAND didn't check wether the entry existed atJeroen van Wolffelaar2001-09-031-1/+3
| | | | | all
* Update creditsJeroen van Wolffelaar2001-09-031-0/+1
|
* Merge RAND_REDESIGN into MAINJeroen van Wolffelaar2001-09-031-270/+218
|
* Track down a few more functions that don't check for 0 args and useRasmus Lerdorf2001-08-131-0/+8
| | | | | faster mechanism
* WhitespaceZeev Suraski2001-08-111-5/+5
|
* Redesigned thread safety mechanism - nua nuaZeev Suraski2001-07-281-7/+6
|
* Fix folding and clean up some extensionsRasmus Lerdorf2001-06-061-2/+5
|
* vim-6 does folding - clean up a bunch of missing folding tags plusRasmus Lerdorf2001-06-051-1/+2
| | | | | some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
* Fix erronous out of bounds error message in rand(min,max)Fredrik Öhrn2001-03-201-1/+1
|
* - Fix copyright notices with 2001Andi Gutmans2001-02-261-1/+1
|
* Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 ↵James Moore2001-02-221-18/+4
| | | | and rand.
* - Fix for bug 9277, two the same boundaries make sense in some casesDerick Rethans2001-02-191-1/+1
|
* For those lucky systems with both random() and *rand48(), the random()Jim Jagielski2001-02-061-6/+6
| | | | | family is the prefered choice. So if both exist, we now choose that.
* @Set default include_path so PEAR files can be reached (Stig)Stig Bakken2000-07-181-9/+9
|
* Rename phpmath.h to php_math.h.Sascha Schumann2000-06-131-1/+1
|
* - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patchAndi Gutmans2000-06-051-4/+4
|
* in [mt_]rand(): (see BUG #3353)Hartmut Holzgraefe2000-05-221-3/+7
| | | | | | - additional range checking for (max-min)<=[MT_]RAND_MAX - [mt_]rand(0,[mt_]getrandmax()) will now work without integer overflow