Commit graph

52 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
Adam Harvey
f5cf724823 Fix (doc) bug #52748 (bcpow() - scale parameter doesn't influensce the result
string) by adding a clarifying note about bcpow's exact behaviour when dealing
with scale.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@303202 c90b9560-bf6c-de11-be94-00142212c4b1
2010-09-09 05:45:41 +00:00
Peter Cowburn
ab347942b2 Changed confusing "positive non-zero integer" note (re #52457)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@302813 c90b9560-bf6c-de11-be94-00142212c4b1
2010-08-26 15:36:56 +00:00
Daniel Egeberg
96c9d88bad Converted to utf-8
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@297028 c90b9560-bf6c-de11-be94-00142212c4b1
2010-03-28 22:10:10 +00:00
Torben Wilson
af4410a7e1 Normalized the sgml-default-dtd-file local-variable line for those
still using this, after discussion on the phpdoc list.
From now on, manual.ced will need to be found at ~/.phpdoc/manual.ced.



git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@288721 c90b9560-bf6c-de11-be94-00142212c4b1
2009-09-25 07:04:39 +00:00
Nilgün Belma Bugüner
2d117865d2 fixed properties
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@283801 c90b9560-bf6c-de11-be94-00142212c4b1
2009-07-11 06:35:26 +00:00
Philip Olson
7774d7bb25 Fixed simple spelling errors
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@271307 c90b9560-bf6c-de11-be94-00142212c4b1
2008-12-16 01:58:18 +00:00
Hannes Magnusson
c030e2adf7 Upgrade to DocBook5:
- All id attributes are now xml:id
 - Add docbook namespace to all root elements
 - Replace <ulink /> with <link xlink:href />
 - Minor markup fixes here and there


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@238160 c90b9560-bf6c-de11-be94-00142212c4b1
2007-06-20 22:25:43 +00:00
Mehdi Achour
176c563b2b more error return values
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228194 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-27 16:58:59 +00:00
Mehdi Achour
483f500ce7 ref.bc: switch to new style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228193 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-27 16:51:44 +00:00
Mehdi Achour
918764d05f WS, prepare for new style
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@228179 c90b9560-bf6c-de11-be94-00142212c4b1
2007-01-27 00:21:08 +00:00
Nuno Lopes
e71b51a711 bcmul() truncates, not rounds. (per user note)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@219196 c90b9560-bf6c-de11-be94-00142212c4b1
2006-08-31 22:12:25 +00:00
Matt Li
2df4a1ed72 Fix examples - arguments are strings
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@189854 c90b9560-bf6c-de11-be94-00142212c4b1
2005-07-04 07:24:19 +00:00
Curt Zirzow
8ac21800fc Clearify that [scale] defaults to 0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@173112 c90b9560-bf6c-de11-be94-00142212c4b1
2004-11-21 00:44:04 +00:00
Jakub Vrana
a1ddba3e96 rtrim($refpurpose, '.')
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@166882 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-20 09:37:01 +00:00
Mehdi Achour
1f9e95ed7a fix build
# sorry


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165984 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-10 23:43:37 +00:00
Mehdi Achour
4e7662a15e Switched bcmath to the new doc style
# also moved a note before the example and removed unneeded screen tags


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165983 c90b9560-bf6c-de11-be94-00142212c4b1
2004-08-10 23:40:27 +00:00
Friedhelm Betz
088a6917b3 proto fix
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@147824 c90b9560-bf6c-de11-be94-00142212c4b1
2004-01-04 19:49:03 +00:00
Nuno Lopes
51cb573bf2 added example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146712 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-18 10:02:11 +00:00
Mehdi Achour
3247dda4c6 some examples
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146576 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-16 12:48:28 +00:00
Mehdi Achour
27960e632c Merry XHTML and CS compliant christmas all \!
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146503 c90b9560-bf6c-de11-be94-00142212c4b1
2003-12-15 16:55:22 +00:00
Mehdi Achour
3de215b1df adding example
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@140479 c90b9560-bf6c-de11-be94-00142212c4b1
2003-09-17 01:33:23 +00:00
Sara Golemon
ea09039617 Revert. While the exponent to bcpowmod should be an integer (in the mathematical sense) it should still be passed as a string as it is not bounded by integer (in the computational sense) limits. There's already a note stating that only natural numbers should be used for any of the parameters.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@121798 c90b9560-bf6c-de11-be94-00142212c4b1
2003-03-31 19:39:31 +00:00
adam
bf707a4c91 Update to reflect final result on Bug #22942.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@121774 c90b9560-bf6c-de11-be94-00142212c4b1
2003-03-31 14:52:04 +00:00
Sara Golemon
d67f5b280d bc_powmod() was renamed to bcpowmod().
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@107663 c90b9560-bf6c-de11-be94-00142212c4b1
2002-12-11 16:34:54 +00:00
Sara Golemon
d779ef7695 Documentation for new function bc_powmod() and additiona 'see also' for bcpow()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@107502 c90b9560-bf6c-de11-be94-00142212c4b1
2002-12-10 20:33:41 +00:00