1
0
mirror of https://github.com/php/doc-en.git synced 2026-04-25 00:08:24 +02:00
Commit Graph

96 Commits

Author SHA1 Message Date
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
Christoph Michael Becker b8276aede8 Use the proper terms for the parameter names
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343028 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-09 12:50:31 +00:00
Christoph Michael Becker d0f5b88a93 Fix supported number range
libbcmath neither stores the decimal point nor a trailing nul byte,
so actually numbers with up to 0x7fffffff digits are supported,
if there is sufficient memory.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343027 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-09 12:35:10 +00:00
Christoph Michael Becker f922f1a7e5 Improve documentation of bcpow() and bcpowmod()
We clarify the meaning of $left_operand and $right_operand,
and also document the supported values.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343026 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-09 12:29:42 +00:00
Christoph Michael Becker b5397d3cda Fix bug #66745: Scientific notation
We document that float to string is problematic for BCMath.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343020 c90b9560-bf6c-de11-be94-00142212c4b1
2017-09-07 22:23:27 +00:00
Christoph Michael Becker a3c18bfa37 bcmath numbers are not of unlimited size and precision
-- 
Provided by anonymous 17522 (divinity76@gmail.com)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340322 c90b9560-bf6c-de11-be94-00142212c4b1
2016-10-05 14:13:58 +00:00
Thomas Punt 4ba0ee7bd8 Resolve doc bug #69349
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@338333 c90b9560-bf6c-de11-be94-00142212c4b1
2015-12-20 00:00:25 +00:00
Maciej Sobaczewski 92bff06867 Update bunch of versions.xml for PHP 7
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@337985 c90b9560-bf6c-de11-be94-00142212c4b1
2015-10-12 07:06:29 +00:00
Maciej Sobaczewski fad0f5afba Mandatory parameters don't have default values
(partially fixes #69349)

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@336318 c90b9560-bf6c-de11-be94-00142212c4b1
2015-04-01 19:37:26 +00:00
Simion Onea 14af302c9c Making the XML definition consistent across the entire project.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334762 c90b9560-bf6c-de11-be94-00142212c4b1
2014-09-05 07:44:07 +00:00
Jason Gerfen 2545422d0c Fixes for 'missinginitializer' errors (I am new so I am uncertain about a standard other than var types, please advise.)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@333260 c90b9560-bf6c-de11-be94-00142212c4b1
2014-04-04 12:51:39 +00:00
Yannick Torres 33040b3b1b Typo found by online editor user
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@331135 c90b9560-bf6c-de11-be94-00142212c4b1
2013-08-16 09:25:19 +00:00
Jakub Vrana 1634a88641 Delete redundant <!-- Membership: -->
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330340 c90b9560-bf6c-de11-be94-00142212c4b1
2013-05-23 17:38:21 +00:00
Joe Watkins e25450d9dc many bugs
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@328365 c90b9560-bf6c-de11-be94-00142212c4b1
2012-11-15 13:40:31 +00:00
Hannes Magnusson 858cacd62c mark bunch of extensions with "membership" PI (like the membership comment)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326064 c90b9560-bf6c-de11-be94-00142212c4b1
2012-06-09 17:34:56 +00:00
Jakub Vrana f052ac1bd7 Revert useless change in 326638
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323642 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-29 00:24:15 +00:00
Jakub Vrana c0ade579d4 PHP_INI_* is in fact INI_
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@323638 c90b9560-bf6c-de11-be94-00142212c4b1
2012-02-28 20:26:39 +00:00
Jakub Vrana b9c3ddd1d3 Use entities for INI headings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@322061 c90b9560-bf6c-de11-be94-00142212c4b1
2012-01-11 08:09:53 +00:00
Jakub Vrana ac04b2ea21 Extension purpose is not needed anymore
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@313269 c90b9560-bf6c-de11-be94-00142212c4b1
2011-07-15 15:46:15 +00:00
Jakub Vrana d3c871ae1e Fix protos
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@308253 c90b9560-bf6c-de11-be94-00142212c4b1
2011-02-11 13:16:13 +00:00
Jakub Vrana 2dea3c8f48 Initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@306924 c90b9560-bf6c-de11-be94-00142212c4b1
2010-12-31 14:05:09 +00:00