#
8d12f666 |
| 24-Aug-2024 |
Máté Kocsis |
Fix registration of internal readonly child classes (#15459) Currently, internal classes are registered with the following code: INIT_CLASS_ENTRY(ce, "InternalClass", class_Internal
Fix registration of internal readonly child classes (#15459) Currently, internal classes are registered with the following code: INIT_CLASS_ENTRY(ce, "InternalClass", class_InternalClass_methods); class_entry = zend_register_internal_class_ex(&ce, NULL); class_entry->ce_flags |= ...; This has worked well so far, except if InternalClass is readonly. It is because some inheritance checks are run by zend_register_internal_class_ex before ZEND_ACC_READONLY_CLASS is added to ce_flags. The issue is fixed by adding a zend_register_internal_class_with_flags() zend API function that stubs can use from now on. This function makes sure to add the flags before running any checks. Since the new API is not available in lower PHP versions, gen_stub.php has to keep support for the existing API for PHP 8.3 and below.
show more ...
|
#
a50adda1 |
| 28-Jul-2024 |
Gina Peter Banyard |
ext/gmp: Make GMP class final (#15121) * ext/gmp: Make GMP class final RFC: https://wiki.php.net/rfc/gmp-final * Update UPGRADING Co-authored-by: Peter Kokot <pete
ext/gmp: Make GMP class final (#15121) * ext/gmp: Make GMP class final RFC: https://wiki.php.net/rfc/gmp-final * Update UPGRADING Co-authored-by: Peter Kokot <peterkokot@gmail.com> --------- Co-authored-by: Peter Kokot <peterkokot@gmail.com>
show more ...
|
#
f2e199e8 |
| 25-Feb-2024 |
Máté Kocsis |
Implement "support doc comments for internal classes and functions" (#13266) Fixes #13130
|
#
10957e49 |
| 18-Feb-2024 |
Máté Kocsis |
Do not generate frameless info items when func info generation is disabled While here, I fixed newlines around arginfo and function entry generation. Previously, newlines were repeated.
|
#
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 ...
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23 |
|
#
b4ec3e9b |
| 28-Aug-2022 |
Máté Kocsis |
Do not generate CONST_CS when registering constants (#9439) |
Revision tags: php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22, php-8.1.9RC1, php-8.2.0beta1 |
|
#
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 ...
|
Revision tags: php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1 |
|
#
6fd2b393 |
| 13-Jun-2022 |
Pierrick Charron |
Indent with TAB in .h files generated by gen_stub |
Revision tags: php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30 |
|
#
deabd5a4 |
| 06-Jun-2022 |
Máté Kocsis |
Declare ext/gmp constants in stubs (#8704) Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de> |
Revision tags: php-8.1.7RC1, php-8.0.20RC1, php-8.1.6, php-8.0.19, php-8.1.6RC1, php-8.0.19RC1, php-8.0.18, php-8.1.5, php-7.4.29, php-8.1.5RC1, php-8.0.18RC1, php-8.1.4, php-8.0.17, php-8.1.4RC1, php-8.0.17RC1, php-8.1.3, php-8.0.16, php-7.4.28, php-8.1.3RC1, php-8.0.16RC1, php-8.1.2, php-8.0.15, php-8.1.2RC1, php-8.0.15RC1, php-8.0.14, php-8.1.1, php-7.4.27, php-8.1.1RC1, php-8.0.14RC1, php-7.4.27RC1, php-8.1.0 |
|
#
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 ...
|
Revision tags: php-8.0.13, php-7.4.26, php-7.3.33, php-8.1.0RC6, php-7.4.26RC1, php-8.0.13RC1, php-8.1.0RC5, php-7.3.32, php-7.4.25, php-8.0.12, php-8.1.0RC4, php-8.0.12RC1, php-7.4.25RC1, php-8.1.0RC3, php-8.0.11, php-7.4.24, php-7.3.31, php-8.1.0RC2, php-7.4.24RC1, php-8.0.11RC1, php-8.1.0RC1 |
|
#
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 |
Revision tags: php-7.4.23, php-8.0.10, php-7.3.30, php-8.1.0beta3, php-8.0.10RC1, php-7.4.23RC1, php-8.1.0beta2, php-8.0.9, php-7.4.22, php-8.1.0beta1, php-7.4.22RC1, php-8.0.9RC1, php-8.1.0alpha3, php-7.4.21, php-7.3.29, php-8.0.8, php-8.1.0alpha2, php-7.4.21RC1, php-8.0.8RC1, php-8.1.0alpha1, php-8.0.7, php-7.4.20, php-8.0.7RC1, php-7.4.20RC1, php-8.0.6, php-7.4.19, php-7.4.18, php-7.3.28, php-8.0.5, php-8.0.5RC1, php-7.4.18RC1, php-8.0.4RC1, php-7.4.17RC1, php-8.0.3, php-7.4.16, php-8.0.3RC1, php-7.4.16RC1 |
|
#
bf0f6aaf |
| 15-Feb-2021 |
Máté Kocsis |
Improve class entry generation Related to GH-6701 |
#
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 |
Revision tags: php-8.0.2, php-7.4.15, php-7.3.27, php-8.0.2RC1, php-7.4.15RC2, php-7.4.15RC1, php-8.0.1, php-7.4.14, php-7.3.26, php-7.4.14RC1, php-8.0.1RC1, php-7.3.26RC1, php-8.0.0, php-7.3.25, php-7.4.13, php-8.0.0RC5, php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24, php-8.0.0RC2, php-7.4.12RC1, php-7.3.24RC1, php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23 |
|
#
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 ...
|
Revision tags: php-8.0.0beta4, php-7.4.11RC1, php-7.3.23RC1, php-8.0.0beta3, php-7.4.10, php-7.3.22, php-8.0.0beta2, php-7.3.22RC1, php-7.4.10RC1 |
|
#
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 |
Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21 |
|
#
0d330e1a |
| 28-Jul-2020 |
Máté Kocsis |
Add a few missing parameter types in stubs Related to GH-5627 |
Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1, php-7.4.8, php-7.2.32, php-8.0.0alpha2, php-7.3.20, php-8.0.0alpha1, php-7.4.8RC1, php-7.3.20RC1 |
|
#
c9b9f525 |
| 19-Jun-2020 |
Nikita Popov |
Include stub hash in generated arginfo files The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necess
Include stub hash in generated arginfo files The hash is used to check whether the arginfo file needs to be regenerated. PHP-Parser will only be downloaded if this is actually necessary. This ensures that release artifacts will never try to regenerate stubs and thus fetch PHP-Parser, as long as you do not modify any files. Closes GH-5739.
show more ...
|
Revision tags: php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1 |
|
#
43095a55 |
| 25-May-2020 |
Máté Kocsis |
Promote warning related to operator overloading in ext/gmp to an exception |
Revision tags: php-7.4.6, php-7.2.31, php-7.4.6RC1, php-7.3.18RC1, php-7.2.30, php-7.4.5, php-7.3.17 |
|
#
3709e74b |
| 06-Apr-2020 |
Máté Kocsis |
Store default parameter values of internal functions in arg info Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal function
Store default parameter values of internal functions in arg info Closes GH-5353. From now on, PHP will have reflection information about default values of parameters of internal functions. Co-authored-by: Nikita Popov <nikita.ppv@gmail.com>
show more ...
|
#
5322de1b |
| 04-Apr-2020 |
Máté Kocsis |
Generate functions entries from stubs for another set of extensions Closes GH-5351 |
Revision tags: php-7.4.5RC1, php-7.3.17RC1, php-7.3.18, php-7.4.4, php-7.2.29, php-7.3.16, php-7.4.4RC1, php-7.3.16RC1, php-7.4.3, php-7.2.28 |
|
#
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.15RC1, php-7.4.3RC1, php-7.3.15, php-7.2.27, php-7.4.2, php-7.3.14, php-7.3.14RC1, php-7.4.2RC1, php-7.4.1, php-7.2.26, php-7.3.13, php-7.4.1RC1, 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 |