Mikhail Alferov
7dbc44bd0d
pow.xml: amend the code example syntax error and add EOL ( #3577 )
2024-07-21 01:28:49 +02:00
Markus Staab
df77a9f8d4
Clarification on pow() when returning an object ( #3575 )
2024-07-17 14:02:33 +01:00
Alexis Lefebvre
9dba7a436d
fdiv: improve note about comparisons ( #3437 )
2024-06-05 00:21:51 +01:00
haszi
f940d0cf42
Change <literal>-INF</literal> to -<constant>INF</constant>
2024-04-16 10:45:49 +01:00
haszi
61374bbe22
Change literal to constant tags
2024-04-16 10:45:49 +01:00
Mikhail Alferov
6abd858a41
Improve wording and markup for expm1() ( #3127 )
...
Co-authored-by: Gina Peter Banyard <girgias@php.net >
2024-01-20 01:35:07 +00:00
Javier Spagnoletti
69194f0815
Update return values for floor() function ( #3007 )
2023-12-12 13:43:02 +00:00
Leonardo Lara Rodrigues
abed9056c5
Improve wording for inverse trig functions ( #2981 )
...
Closes GH-2976
Co-authored-by: LEONARDO LARA RODRIGUES <leonardolara@github.com >
2023-12-01 16:51:30 +00:00
Tim Düsterhus
445fda70c6
is_(finite|infinite|nan): Rewrite documentation ( #2846 )
...
Co-authored-by: George Peter Banyard <girgias@php.net >
2023-10-07 15:55:42 +01:00
Alexandre Daubois
9d04418543
[skip-revcheck] Fix typo in min() and max() docs ( #2696 )
2023-08-21 13:29:11 +01:00
alfsb
fc174e8d61
Improve tag semantic usage ( #2676 )
...
Co-authored-by: André L F S Bacci <ae@php.net >
2023-08-12 13:36:36 +01:00
Anna Filina
8a0ab242e8
Min and max now behave consistently when comparing int to string ( #2636 )
...
Co-authored-by: George Peter Banyard <girgias@php.net >
2023-08-03 17:12:12 +01:00
魔王卷子
6406cc6c50
Optimize math expression text ( #1898 )
...
Co-authored-by: George Peter Banyard <girgias@php.net >
2023-06-26 16:53:17 +01:00
Lars Nyström
26ce978919
Add error_log() to See Also for log() ( #2364 )
...
A little bit of help to those who might be looking for a way to log error messages.
2023-03-17 23:18:22 +00:00
Christoph M. Becker
aeda3e7df9
Fix GH-2092: Min/Max throw a fatal on empty error starting 8.0
2022-12-19 14:11:36 +01:00
Tim Düsterhus
2166824858
Bootstrap ext/random docs with docgen
...
Closes GH-1916.
2022-10-28 15:21:01 +02:00
Derick Rethans
37a5824aa6
We don't live in a 32-bit world anymore
2022-10-17 15:19:30 +01:00
魔王卷子
e049a73337
Replace arg to num
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
Closes GH-1895.
2022-10-17 10:11:07 +02:00
George Peter Banyard
19e8122137
Remove references to "double" and use float instead ( #1848 )
2022-09-27 12:38:35 +01:00
Christoph M. Becker
72059f6530
Mention sqrt() related constants on that page
...
Would be nice if we could actually link to these, but this is as good
as it goes for now.
2022-07-29 16:26:47 +02:00
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
Kamil Tekiela
16a1bdfd1c
Remove double words ( #540 )
2021-04-20 12:54:54 +02:00
Christoph Michael Becker
26a93ee76c
Restore overloaded signature of max() and min()
...
Cf. <https://github.com/php/doc-en/commit/7c9687a07aad0806f17356231fec528e8d7383a9#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