Christoph Michael Becker
5acb9e7075
Clarify NULL/boolean comparison of min()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340221 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 12:33:15 +00:00
Andrea Faulds
574de1a724
Describe see also functions
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340178 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-25 18:43:11 +00:00
Andrea Faulds
603d5c848b
Fix modulus -> modulo, link division and modulo ops to eachother
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340175 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-25 15:05:45 +00:00
Christoph Michael Becker
40abc0dac4
Fix #72962 : Missing example in pow() docs
...
While we're at it, we also update the following example.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339951 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-29 12:54:01 +00:00
Christoph Michael Becker
917de19d61
Improve description of $seed parameter
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339892 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-16 10:43:15 +00:00
Christoph Michael Becker
9adde940ab
Fix #72830 : mt_srand documentation
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339883 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-15 10:39:46 +00:00
Christoph Michael Becker
6c604e6e40
Fix #72835 : Note on min/max's page misleading about string comparisons
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339882 c90b9560-bf6c-de11-be94-00142212c4b1
2016-08-15 10:06:08 +00:00
Christoph Michael Becker
cb4e1a108a
Address #61740 : base_convert skips over out-of-range or unknown characters
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339532 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-30 11:43:06 +00:00
Christoph Michael Becker
dd7e785144
Fix #65280 : Documentation for decoct() incorrect
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339437 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-21 15:03:43 +00:00
Christoph Michael Becker
fb0122dd8b
Fix #64386 : No warning on insecure pseudo-random generators
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339348 c90b9560-bf6c-de11-be94-00142212c4b1
2016-06-14 14:52:22 +00:00
Stanislav Yordanov
74b490914e
fix wrong position of </parameter> tag
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@339019 c90b9560-bf6c-de11-be94-00142212c4b1
2016-04-17 19:22:19 +00:00
Yasuo Ohgaki
5ab1ebc578
Add warnings to rand()/mt_rand().
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338662 c90b9560-bf6c-de11-be94-00142212c4b1
2016-02-24 21:58:20 +00:00
Christoph Michael Becker
351c52e74c
fix #70928 : base_convert doesn't distinguish capital letter
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338497 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-15 13:24:06 +00:00
Thomas Punt
714db5b24b
Resolve doc bug #70596
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338308 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-18 20:36:10 +00:00
Andrea Faulds
e2cda72271
Correct the other half of intdiv()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337971 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-08 14:50:40 +00:00
Andrea Faulds
31dbea659f
Bring intdiv() description into line with php/php-src#1551
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337970 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-08 14:49:04 +00:00
Peter Cowburn
ed96c14f5c
rename numerator to dividend for consistency
...
See also php-src PR 1551 [1] for changing this in the source.
[1] https://github.com/php/php-src/pull/1551/
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337965 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-07 16:08:47 +00:00
Christoph Michael Becker
378609b8a6
The return type of floor is not only float but can also be false
...
--
Provided by anonymous 55596 (rstoll@tutteli.ch )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337718 c90b9560-bf6c-de11-be94-00142212c4b1
2015-09-02 21:56:38 +00:00
Thomas Punt
622088edbf
Rectify the intdiv() docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337445 c90b9560-bf6c-de11-be94-00142212c4b1
2015-08-13 21:11:24 +00:00
Sammy Kaye Powers
b9271c0d58
Add docs for CSPRNG in PHP 7 and update related docs
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336957 c90b9560-bf6c-de11-be94-00142212c4b1
2015-06-14 20:50:32 +00:00
Pasindu De Silva
d1b39ea532
Minor typo and other fixes. (By Christoph Becker)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336599 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-20 10:48:37 +00:00
Peter Cowburn
f940e90ad6
Initial docs for intdiv()
...
--
Patch by Pasindu (ppasindud@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336562 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-17 14:16:23 +00:00
Jean-Sebastien Hedde
247d016f43
Wrong markup for parameter.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336046 c90b9560-bf6c-de11-be94-00142212c4b1
2015-03-06 13:01:41 +00:00
Andrea Faulds
e36faa1eae
Clarity on behaviour of mt_getrandmax() and mt_rand()'s max
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@335710 c90b9560-bf6c-de11-be94-00142212c4b1
2015-01-11 01:55:26 +00:00
Chris Wright
a7ff20f87d
Fix inconsistent and misleading description of how min() and max() treat arguments with differing types. Replace with simple explanation, and add matching examples to both pages which show various behaviours.
...
--
Provided by anonymous 48121 (rowan.collins@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334683 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-01 12:49:39 +00:00
Maciej Sobaczewski
1cd19d56e1
W/S fixes
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334617 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-27 05:42:22 +00:00
Maciej Sobaczewski
8b5940cade
Remove changelogs for PHP 4 - 2nd round
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334605 c90b9560-bf6c-de11-be94-00142212c4b1
2014-08-26 14:28:17 +00:00
Maciej Sobaczewski
246643fc84
Make example consistent with rest of the manual
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333708 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-04 08:23:01 +00:00
Adam Harvey
79eb03f7bf
Manual ** 5.6. (Or, in other words, documented the new ** operator.)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333679 c90b9560-bf6c-de11-be94-00142212c4b1
2014-06-01 22:43:11 +00:00
Jean-Sebastien Hedde
600d8bd2ab
Missing parenthesis
...
--
Provided by anonymous 28912 (adrien.crivelli@gmail.com )
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333494 c90b9560-bf6c-de11-be94-00142212c4b1
2014-05-06 15:04:47 +00:00
Chris Wright
f2bcd84ddf
Typo fix in fmod() docs
...
---
Provided by Mike Matsco
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332334 c90b9560-bf6c-de11-be94-00142212c4b1
2013-12-10 11:32:42 +00:00
Yasuo Ohgaki
825561668c
Fixed typo
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332126 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-15 22:09:31 +00:00
Yasuo Ohgaki
e3ae54c480
Add NULL/FALSE value example to min()
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@332118 c90b9560-bf6c-de11-be94-00142212c4b1
2013-11-15 04:15:36 +00:00
Philip Olson
04b11e621f
Fixed spelling
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329325 c90b9560-bf6c-de11-be94-00142212c4b1
2013-01-29 01:47:09 +00:00
Adam Harvey
0f7994371a
Add cautions about rand() and mt_rand() being cryptographically insecure.
...
Further reading (and the blog that prompted this):
https://spideroak.com/blog/20121205114003-exploit-information-leaks-in-random-numbers-from-python-ruby-and-php
This may at least partially fix bug #62966 , but since that's still private and
I only know about it via a separate bug in the bug tracker, I can't be sure.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328689 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-06 05:41:36 +00:00
Sherif Ramadan
72095acd0f
Fixed minor typo in the description.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328608 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 07:36:24 +00:00
Sherif Ramadan
ef12785e5a
Added description for mode constants and an example to clarify further on the behavior of the different modes. Fixes bug #63568 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328606 c90b9560-bf6c-de11-be94-00142212c4b1
2012-12-02 07:17:13 +00:00
Sherif Ramadan
04988bdb61
Added change log entry for mt_rand checking that max > min parameter, also fixes bug #66559 -- patch by Lonny
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328367 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 17:44:11 +00:00
Adam Harvey
ca01897d64
Fix doc bug #63027 (dechex may convert numbers up to PHP_INT_MAX) by clarifying
...
that PHP treats the parameter as an unsigned int, and working through some of
the implications of that from a userland perspective.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@327571 c90b9560-bf6c-de11-be94-00142212c4b1
2012-09-10 01:54:11 +00:00
Hannes Magnusson
28f9526986
This is a version column
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326063 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:14:24 +00:00
Jakub Vrana
aa742af0b7
Document parameters
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325049 c90b9560-bf6c-de11-be94-00142212c4b1
2012-04-11 13:50:52 +00:00
Gustavo André dos Santos Lopes
be7d7329ad
- Fixed doc bug #60789 : pow() uses floats if one argument is a float.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323895 c90b9560-bf6c-de11-be94-00142212c4b1
2012-03-04 19:08:18 +00:00
Adam Harvey
ab63bd1f26
Fix doc bug #55519 (mt_rand only generetes even 64 bits numbers) by adding a
...
cautionary note to the mt_rand() documentation.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315633 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-28 04:36:02 +00:00
Shein Alexey
299675fb21
WS
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315160 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-19 07:49:33 +00:00
Richard Quadling
5a4fe9cb9a
getrandmax returns 2^15 - 1, not 2 ^ 15 on Windows (and maybe others).
...
Fix bug #55446
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315138 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-18 12:56:59 +00:00
Hannes Magnusson
eb65419051
Sort the changelog properly, kill bogus warning and wrong error return value. fixes bug#55426
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@315057 c90b9560-bf6c-de11-be94-00142212c4b1
2011-08-17 10:50:30 +00:00
Mark Wiesemann
8dba9f7de9
fixed example title ("mode" isn't a function, but a parameter)
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306562 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-21 22:22:45 +00:00
Justin Martin
55884886a1
Fixed examples to use &example.outputs.similar; instead of &example.outputs;.
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305123 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-06 00:54:37 +00:00
Justin Martin
bb32404d88
Added an example to the Math extension's mt_getrandmax function, as per bug #53207 .
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@305119 c90b9560-bf6c-de11-be94-00142212c4b1
2010-11-05 23:47:06 +00:00
Adam Harvey
a205631ef0
Fix doc bug #51981 (decbin(): "(31 1's)" in "64-bit machines" table).
...
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@300139 c90b9560-bf6c-de11-be94-00142212c4b1
2010-06-03 03:09:38 +00:00