Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Preserve BC for rand() AND mt_rand() where min > max | Leigh | 2016-08-10 | 1 | -0/+24 |
| | |||||
* | Alias rand to mt_rand | Leigh | 2016-07-05 | 1 | -84/+3 |
| | |||||
* | Split rand and mt_rand into separate files | Leigh | 2016-07-05 | 1 | -246/+0 |
| | |||||
* | Merge branch 'PHP-7.0' | Leigh | 2016-02-18 | 1 | -1/+1 |
|\ | | | | | | | | | | | | | | | | | * PHP-7.0: Revert "Fix #71152: mt_rand() returns the different values from original mt19937ar.c" `mt_rand()` is seedable with `mt_srand()` which means it can be used to (re)produce specific streams of numbers. All code (no matter how few instances that may be) that previously depended on this behaviour will no longer produce the same results. This kind of change needs to be discussed before being committed | ||||
| * | Revert "Fix #71152: mt_rand() returns the different values from original ↵ | Leigh | 2016-02-18 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | mt19937ar.c" This reverts commit 6f6bd8ce531636134efd5f669a4e8373fb2e9e51. `mt_rand()` is seedable with `mt_srand()` which means it can be used to (re)produce specific streams of numbers. All code (no matter how few instances that may be) that previously depended on this behaviour will no longer produce the same results. This kind of change needs to be discussed before being committed. | ||||
| * | Fix #71152: mt_rand() returns the different values from original mt19937ar.c | kusano | 2016-02-17 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' into fix-mt_rand | kusano | 2016-02-17 | 1 | -10/+10 |
|\ \ | | | | | | | | | | | | | Conflicts: ext/standard/rand.c | ||||
| * | | Replace usage of php_int32 and php_uint32 with int32_t and uint32_t | Rouven Weßling | 2016-02-04 | 1 | -9/+9 |
| |/ | |||||
| * | Merge branch 'PHP-5.6' into PHP-7.0 | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| |\ | | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016) | ||||
| | * | Happy new year (Update copyright to 2016) | Lior Kaplan | 2016-01-01 | 1 | -1/+1 |
| | | | |||||
| | * | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | | |||||
* | | | Fix #71152: mt_rand() returns the different values from original mt19937ar.c | kusano | 2015-12-18 | 1 | -1/+1 |
|/ / | |||||
* | | bump year | Xinchen Hui | 2015-01-15 | 1 | -1/+1 |
| | | |||||
* | | trailing whitespace removal | Stanislav Malyshev | 2015-01-10 | 1 | -10/+10 |
| | | |||||
* | | first shot remove TSRMLS_* things | Anatol Belski | 2014-12-13 | 1 | -18/+18 |
| | | |||||
* | | typo fixes - https://github.com/vlajos/misspell_fixer | Veres Lajos | 2014-11-19 | 1 | -1/+1 |
| | | |||||
* | | s/PHP 5/PHP 7/ | Johannes Schlüter | 2014-09-19 | 1 | -1/+1 |
| | | |||||
* | | master renames phase 3 | Anatol Belski | 2014-08-25 | 1 | -1/+1 |
| | | |||||
* | | master renames phase 1 | Anatol Belski | 2014-08-25 | 1 | -20/+20 |
| | | |||||
* | | further fixes to ext/standard and zend | Anatol Belski | 2014-08-16 | 1 | -17/+17 |
| | | |||||
* | | fix macros in the 5 basic extensions | Anatol Belski | 2014-08-16 | 1 | -4/+4 |
|/ | |||||
* | Fix a compiler warning in php_rand.h | Rouven Weßling | 2014-04-20 | 1 | -1/+0 |
| | |||||
* | Bump year | Xinchen Hui | 2014-01-03 | 1 | -1/+1 |
| | |||||
* | Happy New Year | Xinchen Hui | 2013-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 |
| | |||||
* | - Fixed bug #53403 (use of unitialized values). Fixes the fix for bug #46587. | Gustavo André dos Santos Lopes | 2010-11-25 | 1 | -7/+8 |
| | | | | | - Added test for bug #46587. | ||||
* | - Fixed compile warnings | Felipe Pena | 2010-11-23 | 1 | -1/+1 |
| | |||||
* | Fixed bug #46587 (mt_rand() does not check that max is greater than min). | Ilia Alshanetsky | 2010-11-23 | 1 | -0/+5 |
| | |||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 1 | -1/+1 |
| | |||||
* | MFH: Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: initialize optional vars | Arnaud Le Blanc | 2008-10-21 | 1 | -2/+2 |
| | |||||
* | MFH: Fix bug #46209 - Remove license condition that is no longer required. | Scott MacVicar | 2008-10-01 | 1 | -8/+0 |
| | |||||
* | MFH: New way for check void parameters | Felipe Pena | 2008-03-10 | 1 | -4/+4 |
| | |||||
* | MFH: Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| | |||||
* | MFH: Bump year. | Sebastian Bergmann | 2007-01-01 | 1 | -1/+1 |
| | |||||
* | Faster and better licensed implementation | Dmitry Stogov | 2006-11-10 | 1 | -139/+121 |
| | |||||
* | bump year and license version | foobar | 2006-01-01 | 1 | -3/+3 |
| | |||||
* | - Bumber up year | foobar | 2005-08-03 | 1 | -1/+1 |
| | |||||
* | removing the unwanted inclusion of headers | Anantha Kesari H Y | 2004-09-25 | 1 | -4/+0 |
| | |||||
* | - Moved php_srand() call into php_rand(). | foobar | 2004-01-19 | 1 | -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 5 | Andi Gutmans | 2004-01-08 | 1 | -2/+2 |
| | |||||
* | Revert proto 'fix'. | Ilia Alshanetsky | 2004-01-06 | 1 | -2/+2 |
| | |||||
* | Proto fixes. | Ilia Alshanetsky | 2004-01-06 | 1 | -2/+2 |
| | |||||
* | - Fixed bug #25007 (rand() & mt_rand() seed RNG every call). | foobar | 2003-08-11 | 1 | -8/+6 |
| | | | | | # Also cleaned up the code a bit with this fix. | ||||
* | updating license information in the headers. | James Cox | 2003-06-10 | 1 | -3/+3 |
| | |||||
* | Win32 build improvements | Zeev Suraski | 2003-02-17 | 1 | -7/+0 |
| | |||||
* | Bump year. | Sebastian Bergmann | 2002-12-31 | 1 | -1/+1 |
| | |||||
* | NetWare related changes/modifications | Anantha Kesari H Y | 2002-09-06 | 1 | -0/+4 |
| | |||||
* | Make RAND_RANGE() an API macro. | Andrei Zmievski | 2002-06-09 | 1 | -2/+0 |
| |