History log of /PHP-8.2/ext/gmp/gmp.stub.php (Results 1 – 21 of 21)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 4ea85d40 04-Jan-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Implement GMP::__construct()

Implements a proper constructor for GMP as discussed in both GH-10158 and https://externals.io/message/119216.
Fixes GH-10155

Closes GH-10225

Implement GMP::__construct()

Implements a proper constructor for GMP as discussed in both GH-10158 and https://externals.io/message/119216.
Fixes GH-10155

Closes GH-10225

Signed-off-by: George Peter Banyard <girgias@php.net>

show more ...


# e328c683 19-Jul-2022 Máté Kocsis

Rename @cname to @cvalue in stubs (#9043)

@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as

Rename @cname to @cvalue in stubs (#9043)

@cname currently refers to the constant name in C. However, it is not always a (constant) name, but sometimes a function invocation, so naming it as @cvalue would be more appropriate.

show more ...


# deabd5a4 06-Jun-2022 Máté Kocsis

Declare ext/gmp constants in stubs (#8704)

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>


# 17ceed9a 18-Nov-2021 Nikita Popov

Implement __serialize() and __unserialize() on GMP

GMP directly implements internal serialize/unserialize handlers
rather than going through the Serializable interface, so it ended
u

Implement __serialize() and __unserialize() on GMP

GMP directly implements internal serialize/unserialize handlers
rather than going through the Serializable interface, so it ended
up being missed when adding the new __serialize()/__unserialize()
methods to other classes.

The serialization format is similar to before, but uses hex instead
of decimal encoding and omits the members if not used (which should
be almost always).

show more ...


# 20fb26e5 30-Aug-2021 Máté Kocsis

Add more specific array return type hints for various extensions - part 2

ext/ftp, ext/gmp, ext/intl

Closes GH-7433


# 99b08ac2 08-Feb-2021 Máté Kocsis

Implicitly enable function entry generation when class entry generation is enabled

Closes GH-6675


# 98fb565c 05-Feb-2021 Máté Kocsis

Generate class entries from stubs for another batch of extensions

Closes GH-6669


# 25198277 24-Sep-2020 Nikita Popov

Update gmp+bcmath parameter names

Closes GH-6205.


# 0286decd 16-Sep-2020 Nikita Popov

Accept GMP|string|int union in GMP functions

This changes GMP functions to accept a GMP|string|int union with
standard semantics (and thus also uses it in function signatures).

Accept GMP|string|int union in GMP functions

This changes GMP functions to accept a GMP|string|int union with
standard semantics (and thus also uses it in function signatures).

Relative to the previous behavior, this means that GMP functions
in weak mode now also accept float and null, and in strict mode no
longer accept bool, and have full type information.

Closes GH-6139.

show more ...


# e208cb23 07-Aug-2020 George Peter Banyard

Promote various warnings to Error in GMP extension

This gets rid of most false returns

Closes GH-5882


# 0d330e1a 28-Jul-2020 Máté Kocsis

Add a few missing parameter types in stubs

Related to GH-5627


# 43095a55 25-May-2020 Máté Kocsis

Promote warning related to operator overloading in ext/gmp to an exception


# 5322de1b 04-Apr-2020 Máté Kocsis

Generate functions entries from stubs for another set of extensions

Closes GH-5351


# a43bc33f 04-Apr-2020 Máté Kocsis

Annotate function aliases in stubs


# 7d0102df 17-Feb-2020 Christoph M. Becker

Revert "Replace @param annotations with type declarations"

This reverts commit c31029f335ca1b453af799805c43c37e959ad555.


# c31029f3 16-Feb-2020 Christoph M. Becker

Replace @param annotations with type declarations


Revision tags: php-7.3.13RC1, php-7.2.26RC1, php-7.4.0, php-7.2.25, php-7.3.12
# c58b1233 16-Nov-2019 Máté Kocsis

Add union return types with one class


Revision tags: php-7.4.0RC6
# 27e83d0f 08-Nov-2019 Máté Kocsis

Add union return types for function stubs


Revision tags: php-7.3.12RC1, php-7.2.25RC1, php-7.4.0RC5, php-7.1.33, php-7.2.24, php-7.3.11, php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1
# 5f80eb78 07-Oct-2019 Nikita Popov

Fix required number of arguments in stubs

* get_parent_class() argument is optional
* Mark array_filter() $callback as optional
* The $base of gmp_strval() is optional
* DateTime

Fix required number of arguments in stubs

* get_parent_class() argument is optional
* Mark array_filter() $callback as optional
* The $base of gmp_strval() is optional
* DateTime constructor also accepts zero arguments
* hash_update_file() stream context is optional
* xmlwriter_write_dtd_entity() $isparam argument is optional

show more ...


Revision tags: php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2, php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1
# d19ecd0f 02-Sep-2019 Nikita Popov

Fix typo in type


Revision tags: php-7.1.32, php-7.2.22, php-7.3.9
# 64d0416a 25-Aug-2019 Christoph M. Becker

Add ext/gmp stubs