1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-28 01:33:12 +02:00
Commit Graph

302 Commits

Author SHA1 Message Date
Julien Dubois 54a788ca59 Document NAN return value case. 2026-03-06 08:34:42 +01:00
Máté Kocsis c142be8117 Fix class constant references inside parameter default values (#5084) 2026-01-09 09:50:14 +01:00
Derick Rethans 761d722450 Enable WASM for book.math, and tweak examples 2025-05-06 16:59:37 +01:00
Saki Takamachi 15b93836d9 Update round() for PHP-8.4 and Minor fixes for BCMath's round (#4425) 2025-02-06 12:31:37 +00:00
Alexandre Daubois f721489eae [PHP 8.4] round() can throw a ValueError (#4259) 2024-12-06 21:09:58 +00:00
Gina Peter Banyard e75557e268 PHP 8.4: Document RoundingMode (#4080)
Co-authored-by: Tim Düsterhus <timwolla@googlemail.com>
2024-11-20 16:45:09 +00:00
Gina Peter Banyard 0787a61e36 PHP 8.4: Raising 0 to a negative exponent is deprecated (#4102) 2024-11-20 13:30:32 +00:00
Gina Peter Banyard 2b7eebaaf6 PHP-8.4: Document fpow() (#4035)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2024-11-12 15:09:04 +00:00
Gina Peter Banyard 98a193dab5 Group math constants and use standard <variablelist> tag (#3977) 2024-10-31 15:43:34 +00:00
haszi 48ce43fe79 Remove empty resources pages (#3545)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 02:17:29 +01:00
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
haszi 765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
haszi 605553e228 Remove empty requirements pages (#3464)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 14:34:34 +01:00
haszi 57d1b0df36 Remove empty installation pages (#3462)
Co-authored-by: haszi <haszika80@gmail.com>
2024-06-21 02:38:44 +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
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. <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