Commit graph

243 commits

Author SHA1 Message Date
George Peter Banyard
b0a5a220a5 Move changelog before examples.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348953 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-20 02:28:06 +00:00
Yoshinari Takaoka
93bc4c0a77 fixed typo in r348878
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348887 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-12 14:49:39 +00:00
Christoph Michael Becker
bdc5950b1b Fix #79103: Hexadecimal to decimal conversion deprecation notice missing
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@348878 c90b9560-bf6c-de11-be94-00142212c4b1
2020-01-12 10:04:21 +00:00
George Peter Banyard
349cf9d523 Fix See other link.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347554 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-05 17:10:48 +00:00
George Peter Banyard
1ef2fdddac Added more information about precision behaviour (especially with negative precision).
Added more information to the return value of the function.
Added a specific example demonstrating various precision on a float.
Improved other examples.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347481 c90b9560-bf6c-de11-be94-00142212c4b1
2019-05-24 16:04:13 +00:00
Tyson Andre
a9ada9d6f9 fix typos in extension documentation
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346848 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-18 05:42:50 +00:00
Christoph Michael Becker
962214a5cc Simplify signature of variadic functions
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346102 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 19:09:14 +00:00
Adam Harvey
2643e3d58b Fix bug #76146 by noting the apparent return interval for lcg_value().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344574 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-27 22:04:05 +00:00
Christoph Michael Becker
1c6761cbb9 Fix wording
Patch provided by Matthieu Houriet.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344557 c90b9560-bf6c-de11-be94-00142212c4b1
2018-03-25 13:38:45 +00:00
Jakub Vrana
cd3ea0ba9a Fix type
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344351 c90b9560-bf6c-de11-be94-00142212c4b1
2018-02-24 16:00:30 +00:00
Christoph Michael Becker
fe89d01098 Fix link markup
As it was, the links to the migration guide where skipped by PhD,
which may be a bug.  Anyhow, we work around this issue by linking
like it's done elsewhere in the files.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344025 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 22:12:17 +00:00
Christoph Michael Becker
03c4f516b3 Apply markup consistently
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344021 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 18:03:27 +00:00
Christoph Michael Becker
a8b2c82010 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344017 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-28 17:15:14 +00:00
Jakub Vrana
fa994a739c Fix function signatures
Some of these probably deserve an entry in changelog, please add it if you have energy.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343898 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:03:56 +00:00
Christoph Michael Becker
35654c6a85 Improve wording
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343732 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-01 14:36:32 +00:00
Thomas Punt
adc3221467 Document rand/mt_rand changes
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343522 c90b9560-bf6c-de11-be94-00142212c4b1
2017-11-29 22:29:47 +00:00
Andrey Gromov
3c249167a8 fix by anon
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343263 c90b9560-bf6c-de11-be94-00142212c4b1
2017-10-20 09:49:45 +00:00
Pieter Hordijk
ad195a6577 in second note box, min and max parameters were misplaced
-- 
Provided by anonymous 82724 (molnarriso@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342442 c90b9560-bf6c-de11-be94-00142212c4b1
2017-05-02 07:17:18 +00:00
Christoph Michael Becker
797064ec67 Fix typos
Patches provided by anon users.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342309 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-11 14:30:36 +00:00
Pieter Hordijk
2342022e8a Clarified the status of the "alias".
https://bugs.php.net/bug.php?id=74246

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342217 c90b9560-bf6c-de11-be94-00142212c4b1
2017-04-03 14:57:33 +00:00
Andrey Gromov
daadb28f5d add absent tags "varlistentry"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341938 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:47:37 +00:00
Andrey Gromov
19ad131127 remove redurant tags "tbody"
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341935 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:30:53 +00:00
Maciek Sokolewicz
ce3996c403 documented the change in behaviour due to aliasing of rand to mt_rand in PHP 7.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341933 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 22:01:10 +00:00
Maciek Sokolewicz
f14ec684d3 fixed xml error from previous commit
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341932 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 21:58:12 +00:00
Maciek Sokolewicz
2d7563fa07 some text was incorrectly copied in the previous commit, fixed it now.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341930 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 21:35:49 +00:00
Maciek Sokolewicz
aa4c1e923c documented the mt_(s)rand changes in PHP 7.1.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341929 c90b9560-bf6c-de11-be94-00142212c4b1
2017-02-20 20:48:22 +00:00
Christoph Michael Becker
9427c240ba Improve wording as suggested by user note 120145
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340949 c90b9560-bf6c-de11-be94-00142212c4b1
2016-11-11 13:22:15 +00:00
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
Adam Harvey
41d8e7ffe4 Update version information to include PHP 7.
This was mostly done programmatically, and is likely wrong for a small number
of functions. We may have to wait for bug reports, unless someone wants to
review this by hand. Basic efforts were made to avoid adding "PHP 7" to
functions that were removed in PHP 5.x (x > 0) and PHP 7, but there are
undoubtedly still issues.

In case we're still using Docbook for PHP 8, I've uploaded the script that I
wrote to do this to GitHub at
https://github.com/LawnGnome/php-doc-version-migrator.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338406 c90b9560-bf6c-de11-be94-00142212c4b1
2016-01-04 21:40:07 +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
Christoph Michael Becker
3cd079536e fixed #70907: incorrect info about INF
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338283 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-17 11:45:44 +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