#
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 ...
|
#
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.
|
#
d6a0b3af |
| 11-Jan-2024 |
Máté Kocsis |
Implement PDO driver-specific subclasses RFC: https://wiki.php.net/rfc/pdo_driver_specific_subclasses Closes GH-12804 Co-Authored-By: Danack <Danack@basereality.com>
|
#
dff8679a |
| 29-Oct-2023 |
Jorg Adam Sowa |
Typed constants in PDO extension (#12362)
|
#
7b355e8d |
| 04-Jul-2023 |
Ilija Tovilo |
Revert "Merge branch 'PHP-8.2'" This reverts commit 45a3f178dc226b69f5d72f10285bc2ad139b2c1c, reversing changes made to b2a54bc6af4bf645b5bb2601621c12b31bfbff0c.
|
#
e4f23769 |
| 26-Sep-2022 |
Máté Kocsis |
Improve string class constant code generation (#9577) Using strlen() will make sure that non-constant values can also be used.
|
Revision tags: php-8.2.0RC1, php-8.1.10, php-8.0.23, php-8.0.23RC1, php-8.1.10RC1, php-8.2.0beta3, php-8.2.0beta2, php-8.1.9, php-8.0.22 |
|
#
dd002967 |
| 22-Jul-2022 |
Máté Kocsis |
Declare ext/pdo constants in stubs (#9078)
|
Revision tags: php-8.1.9RC1, php-8.2.0beta1, php-8.0.22RC1 |
|
#
55a88f36 |
| 13-Jul-2022 |
Remi Collet |
add SensitiveParameter as known string and use it in arginfo
|
#
342e18f1 |
| 12-Jul-2022 |
Tim Düsterhus |
Support the actual `#[\SensitiveParameter]` attribute in stubs (#8836)
|
Revision tags: php-8.0.21, php-8.1.8, php-8.2.0alpha3, php-8.1.8RC1, php-8.2.0alpha2, php-8.0.21RC1 |
|
#
1bcd8d39 |
| 08-Jun-2022 |
Pierrick Charron |
Update gen_stub to support #if around classes
|
#
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, 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 |
|
#
6906d1fc |
| 27-Jan-2022 |
Tim Düsterhus |
Mark parameter in ext/pdo as sensitive
|
Revision tags: 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, 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, php-7.4.23, php-8.0.10, php-7.3.30 |
|
#
2e343fcb |
| 20-Aug-2021 |
Nikita Popov |
Mark PDO::setAttribute() $value as mixed For consistency with PDOStatement::setAttribute(). Attribute values can for example also be bool. This is backwards-compatible, as mixed
Mark PDO::setAttribute() $value as mixed For consistency with PDOStatement::setAttribute(). Attribute values can for example also be bool. This is backwards-compatible, as mixed is the same as no type for parameter variance.
show more ...
|
Revision tags: 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 |
|
#
2378f357 |
| 20-Jul-2021 |
Máté Kocsis |
Use single line phpdoc in stubs where possible
|
#
570d9b63 |
| 20-Jul-2021 |
Joe Watkins |
Not serializable flag permeation
|
Revision tags: 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 |
|
#
4ed66ff2 |
| 17-May-2021 |
Máté Kocsis |
Declare tentative return types for ext/pdo Closes GH-6996
|
Revision tags: 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
|
#
af56982a |
| 14-Feb-2021 |
Máté Kocsis |
Generate class entries from stubs for oci8, odbc, openssl, pcntl, pdo, pgsql Closes GH-6691
|
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 |
|
#
0f369817 |
| 05-Oct-2020 |
Nikita Popov |
Update PDO parameter names Followup to previous changes: * Use camel case, as PDO uses a camel case OO API. * Use &$var instead of &$bind_var or &$param. * Use $column instead
Update PDO parameter names Followup to previous changes: * Use camel case, as PDO uses a camel case OO API. * Use &$var instead of &$bind_var or &$param. * Use $column instead of $index. We have cases (both inside PDO and in other DB exts) where columns can also be represented as strings, so $column is the safer generic name. Closes GH-6272.
show more ...
|
Revision tags: php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23 |
|
#
ea03cbeb |
| 26-Sep-2020 |
Larry Garfield |
Update PDO parameters for named arguments. Closes GH-6220
|
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 |
|
#
f7fbc633 |
| 14-Aug-2020 |
Máté Kocsis |
Add more precise type info for stubs Closes GH-6005
|
#
046cc5e4 |
| 07-Aug-2020 |
Máté Kocsis |
Add another round of missing parameter types to stubs Closes GH-5950
|
Revision tags: php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21 |
|
#
7eec281b |
| 24-Jul-2020 |
Nikita Popov |
Avoid UNKNOWN default in PDO::query()
|
Revision tags: php-8.0.0alpha3, php-7.4.9RC1, php-7.3.21RC1 |
|
#
7d3e530f |
| 17-Jul-2020 |
Nikita Popov |
Use zpp for PDO fetch mode Also changing the function signatures to accept variadic args for the fetch params. If we're already breaking Doctrine anyway, we may as well do it properl
Use zpp for PDO fetch mode Also changing the function signatures to accept variadic args for the fetch params. If we're already breaking Doctrine anyway, we may as well do it properly.
show more ...
|
Revision tags: 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 ...
|