Commit graph

269 commits

Author SHA1 Message Date
Sergey Panteleev
268d48a184
Remove PHP 5 reference (#959) 2021-09-21 11:36:42 +01:00
Máté Kocsis
7973fd5333
Generate some standard methodsynopses based on stubs (#289) 2021-09-19 12:30:47 +01:00
Sergey Panteleev
338f05c722
Fix issues in Math directory
Part of #658
2021-06-09 09:54:14 +03:00
Máté Kocsis
e2a460ca39
Generate some standard methodsynopses based on stubs
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2021-05-23 13:26:34 +02:00
Sergey Panteleev
f9c4a68ef4
Removed references to PHP 5, PHP 7.0 (#548) 2021-04-26 11:46:55 +03:00
Kamil Tekiela
16a1bdfd1c
Remove double words (#540) 2021-04-20 12:54:54 +02:00
Yoshinari Takaoka
54a2f17702 Added PHP 8 into versions.xml for math based on stubs.
Closes GH-343.
2021-01-17 12:21:53 +01:00
Christoph Michael Becker
26a93ee76c Restore overloaded signature of max() and min()
Cf. <7c9687a07a (commitcomment-45455504)>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352221 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 21:15:42 +00:00
Christoph Michael Becker
7c9687a07a Update methodsynopses of min() and max()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352211 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 18:09:26 +00:00
Yoshinari Takaoka
5422475dd2 fixed definition using parameter name.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352197 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 02:27:13 +00:00
Yoshinari Takaoka
c4e4e1a999 fixed difinition using parameter name.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352196 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 02:22:37 +00:00
Yoshinari Takaoka
83f96a23fc fixed equation by using parameter name.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352195 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-27 02:09:09 +00:00
Christoph Michael Becker
0c9c2dd669 Generate some standard methodsynopses based on stubs
Cf. <https://github.com/php/doc-en/pull/289>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352191 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-26 19:26:31 +00:00
Christoph Michael Becker
750d32e66a Add fdiv()
Closes GH-258.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352017 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-11 19:33:08 +00:00
Christoph Michael Becker
e41806c30b Revert revision(s) 351724 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351730 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 18:05:44 +00:00
Christoph Michael Becker
4754397753 Revert revision 351727 from phpdoc/en/trunk:
Document false and null return types

Cf. <https://news-web.php.net/php.doc.cvs/17645>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351729 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 17:58:32 +00:00
Jakub Vrana
69bd53265b Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351727 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 15:12:46 +00:00
Jakub Vrana
c80da7c04a Document false and null return types
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351724 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-28 12:54:59 +00:00
George Peter Banyard
d494ffa4d9 Add a page about numeric strings
Closes GH-215

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351700 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-27 15:56:30 +00:00
Christoph Michael Becker
86e6094e86 Use canonical type names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351133 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:39:04 +00:00
Christoph Michael Becker
9e0f03ac35 Proper variadics instead of pseudo variadics
We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 11:17:26 +00:00
Christoph Michael Becker
eb0bd932eb Replace "number" type with built-in types
There is really no need for a pseudo type here; we can either use the
`int|float` union, or spell out the abbreviation, instead.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351123 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 09:17:09 +00:00
Christoph Michael Becker
7f569e1f17 Remove more changelog entries, mostly from PHP 5.3 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350655 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 14:08:59 +00:00
Christoph Michael Becker
9af43469f4 Remove more changelog entries, mostly from PHP 5.2 era
Patch contributed by Sobak <msobaczewski@gmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350654 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-26 13:52:31 +00:00
Christoph Michael Becker
23482f94b5 Improve docs of round()
Patch contributed by Daniel Rudolf.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350529 c90b9560-bf6c-de11-be94-00142212c4b1
2020-09-07 14:29:35 +00:00
Christoph Michael Becker
50e3d5cbfe The return value of pi() is not related to the precision directive
This integrates user note 124860.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349536 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-27 22:43:19 +00:00
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