147 Commits

Author SHA1 Message Date
Christoph M. Becker
5564c64a6c Drop some irrelevant info (GH-3718)
Neither PHP 5.6, nor Visual C 9 are relevant for the manual.  And the
fact that GMP is available on Windows (as of PHP 5.1.0) is also
irrelevant.
2024-09-06 12:06:27 +02:00
haszi
765b2d6eec Remove empty configuration pages (#3538)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-09 22:24:55 +01:00
Gina Peter Banyard
4d17b7b494 [skip-revcheck] Convert class markup to be compatible with DocBook 5.2
Closes GH-3415
2024-06-14 17:04:53 +01:00
haszi
18ad21afec Add GMP_MPIR_VERSION constant 2024-05-20 13:12:52 +01:00
haszi
2ff877cdec [skip-revcheck] Fix whitespace 2024-05-20 13:12:52 +01:00
Gina Peter Banyard
62126c55f1 Minor markup issue fixups 2024-04-22 13:25:39 +01:00
Gina Peter Banyard
5eadfcc2e7 ext/gmp: Include constructor 2023-12-06 05:45:01 +00:00
Leonardo Lara Rodrigues
4b00c7916e Correct parameter name
Closes GH-2994
2023-12-05 13:43:21 -03:00
Gina Peter Banyard
45c190ae5d Add stubs/documentation for missing GMP functions (#2924)
* Add documentation for missing GMP constructor.

Reference:
 - 4ea85d4044

* Rename files in wrong name format
2023-11-15 00:01:57 +00:00
Máté Kocsis
5e9500ddad [skip-revcheck] Syncronize predefined constants with stubs - part 1 (#2739)
Preparation commit for syncing constants with stub.

This reformats the page, which is mainly just whitespace changes.
2023-09-04 23:37:50 +01:00
Máté Kocsis
14767af0f0 Use new class synopsis markup (#2611)
Follow-up on https://github.com/php/phd/pull/77
2023-08-30 12:28:30 +01:00
Tim Düsterhus
7916b9cb98 Add warning that GMP's random functions are not cryptographically secure (#2386)
Resolves php/doc-en#2384
2023-03-26 14:27:38 +01:00
othercorey
07f34881ec gmp_clrbit() and gmp_setbit() only accept GMP objects, fix parameter description (#2294) 2023-02-20 13:19:00 +00:00
Máté Kocsis
8197e34855 Update ext/gmp role attributes (#2061) 2022-12-11 23:20:08 +01:00
George Peter Banyard
b412bbd262 Improve and fix docs which had incorrect stub info (#1517)
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>
2022-11-07 14:21:44 +00:00
Máté Kocsis
5485482993 Adjust ext/gmp default values (#1287)
According to gen_stub.php
2022-01-03 10:12:53 +01:00
Christoph M. Becker
4ad4b2432e Update GMP requirements
As of PHP 7.0.0, at least GMP 4.2 is required on POSIX systems.  On
Windows, MPIR is required instead.
2021-12-16 11:51:22 +01:00
Máté Kocsis
fbfbffff6b Generate ext/gmp class synopses from stubs
Closes GH-1113.
2021-12-15 18:11:42 +01:00
Peter Cowburn
2e8ef0a1bd hyphenate "object-oriented"
refs #846
2021-08-08 18:48:47 +01:00
Sergey Panteleev
574a644f1d GMP enhancement 2021-07-29 09:54:31 +03:00
Kamil Tekiela
a35fce69cc Remove obsolete resource information
Closes GH-725.
2021-06-24 16:08:30 +02:00
Sergey Panteleev
aab33d6443 Removed references to PHP 5, PHP 7.0 (#544) 2021-04-23 11:35:26 +03:00
Yoshinari Takaoka
62d997a720 Added PHP 8 into versions.xml for gmp based on stubs.
Closes GH-408.
2021-01-26 18:24:19 +01:00
Yoshinari Takaoka
7431c72968 gmp_random was deleted as of PHP 8.0.0.
already documented in appendices/migration80/incompatible.xml.
2021-01-25 23:00:46 +09:00
Christoph Michael Becker
591040cf0c Fix description of gmp_init()'s $base parameter
Actually, bases up to 62 are supported, and also binary prefixes.  We also clarify
the alphabet for bases greater than 36.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352270 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-29 13:24:43 +00:00
Christoph Michael Becker
43130349a3 Remove obsolete GMP info
PHP 7.0 requires GMP 4.2 anyway.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352053 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 13:02:26 +00:00
Yoshinari Takaoka
50d9745e66 fixed missing paramater replacement.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352047 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 01:27:32 +00:00
Christoph Michael Becker
039ab719e6 Generate gmp methodsynopses based on stubs
Closes GH-225.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@352046 c90b9560-bf6c-de11-be94-00142212c4b1
2020-12-13 00:15:23 +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
Christoph Michael Becker
bc0cf01363 Fix return type documentation of gmp_hamdist
It's an integer since the function was added in php 5.5+.
See https://3v4l.org/DgIdi

Patch contributed by Tyson Andre <tysonandre775@hotmail.com>.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351392 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-15 12:50:13 +00:00
Christoph Michael Becker
b95d28e6ec Fix return types
Functions which return false on failure should state that in their
signature as well.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351135 c90b9560-bf6c-de11-be94-00142212c4b1
2020-11-02 15:52:35 +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
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
f312744505 Number of bits is an integer, not a GMP number
Patch contributed by Benjamin Morel.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350328 c90b9560-bf6c-de11-be94-00142212c4b1
2020-08-15 09:16:13 +00:00
Christoph Michael Becker
02fc3b287a Fix title
Patch provided by Jacques Marcotte

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@347819 c90b9560-bf6c-de11-be94-00142212c4b1
2019-08-02 13:08:17 +00:00
Christoph Michael Becker
db16489501 New GMP functions as of PHP 7.3.0
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@346307 c90b9560-bf6c-de11-be94-00142212c4b1
2018-12-12 13:56:45 +00:00
Christoph Michael Becker
8f184087fb Document new gmp_binomial() function
Based on a patch provided by an anonymous user.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345730 c90b9560-bf6c-de11-be94-00142212c4b1
2018-09-29 16:51:57 +00:00
Nikita Popov
c035f0005a Fix bug #70575: gmp_random() doc wrong
Implement the changes suggested by the reporter.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@345264 c90b9560-bf6c-de11-be94-00142212c4b1
2018-07-02 15:49:57 +00:00
Christoph Michael Becker
620e68a7f0 Fix #61643: gmp_nextprime and gmp_dcdext behavior differences
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344880 c90b9560-bf6c-de11-be94-00142212c4b1
2018-04-29 11:14:13 +00:00
Jakub Vrana
913d58ea6e gmp_sign accepts only integers (bug #75217)
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344085 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 23:00:09 +00:00
Jakub Vrana
05244a1697 Link gmp_import and gmp_export
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@344080 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-29 22:16:49 +00:00
Jakub Vrana
c60c09370e Use &return.nullorfalse;
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343912 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-26 09:44:46 +00:00
Jakub Vrana
b8758b0605 Use entities in initializer
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343899 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 19:11:34 +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
Jakub Vrana
be295015d0 Use int instead of integer in parameters
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@343891 c90b9560-bf6c-de11-be94-00142212c4b1
2018-01-25 15:56:34 +00:00
Andrey Andreev
028513e94b Document PHP 7.2 deprecations as the result of https://wiki.php.net/rfc/deprecations_php_7_2
Also, simplify the first paragraph of 'Traditional assertions' in assert() docs

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@342126 c90b9560-bf6c-de11-be94-00142212c4b1
2017-03-14 11:30:59 +00:00
Christoph Michael Becker
e9e39774fa Improve parameter description
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@340233 c90b9560-bf6c-de11-be94-00142212c4b1
2016-09-28 13:54:14 +00:00