summaryrefslogtreecommitdiff
path: root/ext/standard/php_rand.h
Commit message (Collapse)AuthorAgeFilesLines
* Future-proof email addressesZeev Suraski2018-11-011-1/+1
|
* Remove unused Git attributes identPeter Kokot2018-07-251-1/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* year++Xinchen Hui2018-01-021-1/+1
|
* Remove RAND_RANGE() macroTom Van Looy2017-12-091-3/+0
| | | | | | | | | | The behavior of RANGE_RANGE() is 7.1 changed completely, from rescaling an already generated number to generating a number itself. Because of this str_shuffle() ended up generating two random numbers on every iteration. To avoid further misuse the function is dropped entirely. Extensions for PHP >= 7.1 should directly call php_mt_rand_range().
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Fix legacy mode RAND_RANGE and 32/64-bit consistencyLeigh2016-07-161-0/+3
|
* Alias rand to mt_randLeigh2016-07-051-8/+4
|
* Split rand and mt_rand into separate filesLeigh2016-07-051-7/+25
|
* Replace usage of php_int32 and php_uint32 with int32_t and uint32_tRouven Weßling2016-02-041-2/+2
|
* Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-6/+6
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | master renames phase 1Anatol Belski2014-08-251-6/+6
| |
* | further fixes to ext/standard and zendAnatol Belski2014-08-161-6/+6
|/
* Fix a compiler warning in php_rand.hRouven Weßling2014-04-201-0/+1
|
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* 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
|
* fix buildAntony Dovgal2008-03-071-1/+1
|
* improve seed calculationStanislav Malyshev2008-03-071-2/+2
| | | | | # better solution would be to port mt's multi-value seed procedure
* MFH: Bump copyright year, 2 of 2.Sebastian Bergmann2007-12-311-1/+1
|
* MFH: Bump year.Sebastian Bergmann2007-01-011-1/+1
|
* bump year and license versionfoobar2006-01-011-3/+3
|
* - Bumber up yearfoobar2005-08-031-1/+1
|
* - Fixed bug #26949 (rand(min,max) always returns min when ZTS enabled)foobar2004-01-191-1/+2
|
* - Happy new year and PHP 5 for rest of the files too..foobar2004-01-081-2/+2
| | | | | # Should the LICENSE and Zend/LICENSE dates be updated too?
* Fixed bug #25170 (Problem with generation of random numbers on solaris)Ilia Alshanetsky2003-08-201-1/+1
|
* Prevent carryover when max-min > signed int maxSara Golemon2003-08-131-1/+1
|
* - Fixed bug #25007 (rand() & mt_rand() seed RNG every call).foobar2003-08-111-0/+6
| | | | | # Also cleaned up the code a bit with this fix.
* Fixed bug #24909 (Bad random numbers with ZTS builds on Solaris)Ilia Alshanetsky2003-08-081-1/+1
|
* updating license information in the headers.James Cox2003-06-101-3/+3
|
* Bump year.Sebastian Bergmann2002-12-311-1/+1
|
* Make RAND_RANGE() an API macro.Andrei Zmievski2002-06-091-0/+3
|
* Maintain headers.Sebastian Bergmann2002-02-281-1/+1
|
* Update headers.Sebastian Bergmann2001-12-111-2/+2
|
* Make rand thread safe when ZTS is defined.Sterling Hughes2001-09-161-23/+4
|
* export the mt rand functions...Sterling Hughes2001-09-091-0/+8
|
* revert bad commit.foobar2001-09-051-86/+31
|
* fix zts+win32 buildDaniel Beulshausen2001-09-041-5/+5
|
* - Fix broken buildDerick Rethans2001-09-031-1/+1
| | | | | #- Please test before commit!
* Removed outdated comment until I've got a better oneJeroen van Wolffelaar2001-09-031-19/+0
|
* Kill some warnings/errors (reported by Sebastian, more to come, butJeroen van Wolffelaar2001-09-031-1/+6
| | | | | could take some time. Update of ZTS-builderrors is welcome)
* Merge RAND_REDESIGN into MAINJeroen van Wolffelaar2001-09-031-31/+100
|