1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-24 07:42:10 +01:00

116 Commits

Author SHA1 Message Date
Máté Kocsis
3f82c54505 Add packagesynopsis tag for BCMath, FFI and PDO classes (#5406) 2026-03-08 21:04:48 +01:00
Gina Peter Banyard
ae7db14ea8 Properly revert "Fix wrong xml:id on the fieldsynopsis element of Exception::$code"
This reverts commit 6a05d92a32.

On the request of Máté to fix the build.

It might make sense to rewrite history and force push to prevent revcheck issues, but that's another debate.
2026-03-05 13:35:28 +00:00
Máté Kocsis
462d2bcb3f Revert "Fix wrong xml:id on the fieldsynopsis element of Exception::$code"
This reverts commit 6a05d92a32.

The id is needed since 3c4752c0ae
2026-03-05 14:21:25 +01:00
Máté Kocsis
c142be8117 Fix class constant references inside parameter default values (#5084) 2026-01-09 09:50:14 +01:00
Anton Smirnov
d80be77cef Fix BcMath\Number::round() example (#4710) 2025-05-30 10:48:09 +08:00
Marcos Porto Mariño
c9490d424e [skip-revcheck] Correct indentation (#4454) 2025-04-24 16:27:51 +02: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
Saki Takamachi
3295741565 ext/bcmath: Moved scale description from language-snippets to bcadd (#4423) 2025-01-30 08:32:54 +09:00
Saki Takamachi
a414ee95eb ext/bcmath: Minor fixes (#4422) 2025-01-29 17:20:48 +09:00
Leonardo Lara Rodrigues
6fdd8cf867 BCMath\Number::powmod: remove whitespaces between tags (#4418)
* remove extra space

* keep classname in the same line to avoid space in compilation
2025-01-27 14:42:20 +00:00
Mikhail Alferov
5783476ce3 Update bcdivmod.xml Specify the correct return type (#4401) 2025-01-16 22:50:42 +00:00
Saki Takamachi
c7e83fbbbc ext/bcmath: Document BcMath\Number class (#4187)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2025-01-14 12:49:03 +00:00
Saki Takamachi
ddb05f8827 ext/bcmath: Improve documentation for BCMath (#4163)
- Use XIncludes to reduce duplications
- Add error sections
- Fix description of the scale parameter.
- Wording improvements

---------

Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2024-12-01 12:51:49 +00:00
Saki Takamachi
87f32875a1 ext/bcmath: Document bcceil(), bcfloor(), bcround() and bcdivmod() (#4132)
Co-authored-by: Gina Peter Banyard <girgias@php.net>
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
2024-11-25 13:59:27 +00:00
Saki Takamachi
1fafa3d999 ext/bcmath - Fixed because the behavior change when dividing by 0 from PHP 8.0 was not reflected. (#4133) 2024-11-23 21:30:03 +09:00
Saki Takamachi
e333514f66 ext/bcmath - bcpow: Reflected the behavior change when division by 0 occurs. (#4134) 2024-11-23 20:21:04 +09:00
haszi
48ce43fe79 Remove empty resources pages (#3545)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 02:17:29 +01:00
haszi
46a9cdd2db Remove empty constants pages (#3527)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 16:08:35 +01:00
haszi
605553e228 Remove empty requirements pages (#3464)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 14:34:34 +01:00
Gina Peter Banyard
d4d5216e7a [skip-revcheck] Replace PHP_INI_* with INI_* constants
Performed via a bash script which can be found on PR GH-3140

Closes GH-3140

Co-authored-by: haszi <haszika80@gmail.com>
2024-01-26 14:00:36 +00:00
Christoph M. Becker
04c37bc8ca Update bcsqrt() docs wrt. PHP 8.0.0 2022-12-31 14:08:54 +01:00
Christoph M. Becker
1d61be1ed9 float to string conversion is no longer locale dependent 2021-07-16 16:07:30 +02:00
George Peter Banyard
cbac1ecf71 Fix lone section order issues in various extensions
Part of #658
2021-06-06 18:03:03 +01:00
Christoph M. Becker
f8476c9e0b Fix BC number regex
* the integer part may contain non-leading zeroes
* The decimal point has to be a full stop
* the fractional part requires a leading decimal point
2021-05-07 14:18:59 +02:00
Christoph M. Becker
6dfe076725 xi:include INI settings documented elsewhere in ini.list
We do not xi:include core INI settings, since we want to keep
alphabetic sort order (well, roughly at least).

We do add xi:fallback elements to all xi:includes, just in case.
2021-02-24 17:58:20 +01:00
Yoshinari Takaoka
e85adf32e1 Added PHP 8 into versions.xml for bcmath based on stubs.
Closes GH-360.
2021-01-18 13:43:16 +01:00
Christoph Michael Becker
3e2bff7191 Document what is a valid BCMath number
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352240 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 13:53:51 +00:00
Christoph Michael Becker
b23d3f10b8 Fix #80554: Documentation for BCMath
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352239 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-28 13:04:38 +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
Christoph Michael Becker
23f5599c8c Generate bcmath methodsynopses based on stubs
Based on a patch contributed by Máté Kocsis <kocsismate@woohoolabs.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351405 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-17 11:20:54 +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
192925f460 Fix #79530: bcpowmod never returns NULL as stated in doc
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349720 c90b9560-bf6c-de11-be94-00142212c4b1
2020-04-28 11:33:36 +00:00
Sherif Ramadan
3e648f3fdf Fix grammatical error
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349317 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 11:30:32 +00:00
Sherif Ramadan
c8e5e322bd Remove "Binary Calculator" mention from documentation.
It's BCMath.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@349316 c90b9560-bf6c-de11-be94-00142212c4b1
2020-03-05 11:28:52 +00:00
Nikita Popov
708c4884f2 Fix typos
Patch by carusogabriel.

Closes php/doc-en#5.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347753 c90b9560-bf6c-de11-be94-00142212c4b1
2019-07-15 14:29:36 +00:00
George Peter Banyard
508e255fff Remove PHP 4 and 5.0.0 mentions.
This includes changelogs but also some paragraphs and notes which mention PHP 4.

This should include all mentions of PHP 4 in "bundled" extensions

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347589 c90b9560-bf6c-de11-be94-00142212c4b1
2019-06-11 13:21:49 +00:00
Christoph Michael Becker
394eb8c182 Fix grammar
-- 
Patch provided by anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347308 c90b9560-bf6c-de11-be94-00142212c4b1
2019-04-22 12:29:45 +00:00
Christoph Michael Becker
a0c42039db Split bcscale() signature
As of PHP 7.3.0, bcscale() may also be used as getter, which is not
properly reflected by making the $scale parameter optional.  Therefore,
we split the function signature.

Inspired by a patch provided by Tim van Dijen.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346739 c90b9560-bf6c-de11-be94-00142212c4b1
2019-02-07 13:14:36 +00:00
Christoph Michael Becker
2b8c74f614 Add missing initializer
Patch provided by Kasper Franz.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346085 c90b9560-bf6c-de11-be94-00142212c4b1
2018-11-27 11:35:50 +00:00
Christoph Michael Becker
470e1330bc Add example with decimals
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344896 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-30 22:19:36 +00:00
Christoph Michael Becker
925efa68ea Fix #76287: bcmod returns incorrect values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344895 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-30 22:11:13 +00:00
Jakub Vrana
ad36239c14 Unify language
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344123 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 07:37:42 +00:00
Jakub Vrana
4c5cc1e4aa Add scale
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344122 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-31 07:33:06 +00:00
Christoph Michael Becker
af9cbcabe1 Update wrt. change as of PHP 7.3.0
Cf. <https://bugs.php.net/67855>.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343945 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 17:00:32 +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
95d2929770 Fix typo
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343822 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-12 16:44:50 +00:00
Christoph Michael Becker
a69aa0a25f Update with regard to PR 2742
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343101 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-18 14:21:32 +00:00
Christoph Michael Becker
f59b53e589 Add note regarding possibly truncated scale
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343030 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-09 13:09:19 +00:00
Christoph Michael Becker
ae833792af Document change due to fixing bug #46564
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343029 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-09 13:02:53 +00:00