summaryrefslogtreecommitdiff
path: root/ext/standard/rand.c
Commit message (Collapse)AuthorAgeFilesLines
* sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.phpSebastian Bergmann2010-01-031-1/+1
|
* MFH: Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* MFH: initialize optional varsArnaud Le Blanc2008-10-211-2/+2
|
* MFH: Fix bug #46209 - Remove license condition that is no longer required.Scott MacVicar2008-10-011-8/+0
|
* MFH: New way for check void parametersFelipe Pena2008-03-101-4/+4
|
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* Faster and better licensed implementationDmitry Stogov2006-11-101-139/+121
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* removing the unwanted inclusion of headersAnantha Kesari H Y2004-09-251-4/+0
|
* - Moved php_srand() call into php_rand().foobar2004-01-191-4/+4
| | | | | | | | # 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..
* - 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
|