#
db545767 |
| 10-Sep-2024 |
DanielEScherzer |
Rename `ZEND_STR_DEPRECATED` to `ZEND_STR_DEPRECATED_CAPITALIZED` (#15831) To match other capitalized strings like `ZEND_STR_UNKNOWN_CAPITALIZED` and `ZEND_STR_ARRAY_CAPITALIZED`. Since
Rename `ZEND_STR_DEPRECATED` to `ZEND_STR_DEPRECATED_CAPITALIZED` (#15831) To match other capitalized strings like `ZEND_STR_UNKNOWN_CAPITALIZED` and `ZEND_STR_ARRAY_CAPITALIZED`. Since this known string was only added in PHP 8.4, no backwards compatibility alias is needed.
show more ...
|
#
53cb8967 |
| 03-Sep-2024 |
DanielEScherzer |
Generated arginfo header files: remove empty zend_function_entry arrays (#15705) When a class (or enum) has no methods, rather than using an array that only contains `ZEND_FE_END`, use `
Generated arginfo header files: remove empty zend_function_entry arrays (#15705) When a class (or enum) has no methods, rather than using an array that only contains `ZEND_FE_END`, use `NULL` for the functions. The implementation of class registration for internal classes, `do_register_internal_class()` in zend_API.c, already skips classes where the functions are `NULL`. By removing these unneeded arrays, we can reduce the size of the header files, while also removing an unneeded call to zend_register_functions() for each internal class with no extra methods.
show more ...
|
#
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 ...
|
#
b9fef523 |
| 04-Aug-2024 |
Jorg Adam Sowa |
Deprecate date_sunrise and date_sunset constants (#12978) RFC: https://wiki.php.net/rfc/deprecations_php_8_4
|
#
29f98e74 |
| 10-Jul-2024 |
Tim Düsterhus |
Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750) Co-authored-by: Gina Peter Banyard <girgias@php.net> Co-authored-by: Niels Dossche <7771979+ni
Replace `@deprecated` by `#[\Deprecated]` for internal functions / class constants (#14750) Co-authored-by: Gina Peter Banyard <girgias@php.net> Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
show more ...
|
#
09303ad0 |
| 18-Jun-2024 |
Máté Kocsis |
Fix some ext/date return types (#14600)
|
#
c4d9a37e |
| 22-May-2024 |
Jorg Adam Sowa |
Typed constants in date extension (#12361)
|
#
dbd976a6 |
| 06-Mar-2024 |
Marc Bennewitz |
Singular DateTime::[get|set]Microsecond & no tentative return type (#13486) * Singular DateTime::[get|set]Microsecond & no tentative return type * Added missing getMicrosecond to Da
Singular DateTime::[get|set]Microsecond & no tentative return type (#13486) * Singular DateTime::[get|set]Microsecond & no tentative return type * Added missing getMicrosecond to DateTimeInterface
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.
|
#
0016b308 |
| 05-Feb-2024 |
Marc Bennewitz |
Added DateTime[Immutable]::[get|set]Microseconds (#12557) * Added DateTime[Immutable]::[get|set]Microseconds
|
#
88f2dc62 |
| 10-Oct-2023 |
Marc Bennewitz |
Added DateTime[Immutable]::createFromTimestamp / date_create_[immutable]_from_timestamp
|
#
27fb8d1c |
| 14-Aug-2023 |
Ayesh Karunaratne |
Fix DateTime exception hierarchy for DateInvalidTimeZoneException (#11970) `DateInvalidTimeZoneException` is supposed to inherit from `DateException`, but the current stub has `Exception`.
|
#
17b3af29 |
| 14-Aug-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
GH-11964: In ext/date/php_date.stub.php, DateRangeError extends itself According to the RFC[1] it's supposed to extend DateError. [1] https://wiki.php.net/rfc/datetime-exceptions
|
#
9c7c0a0b |
| 01-Jul-2023 |
Máté Kocsis |
Implement DatePeriod::createFromISO8601String()
|
#
7b355e8d |
| 04-Jul-2023 |
Ilija Tovilo |
Revert "Merge branch 'PHP-8.2'" This reverts commit 45a3f178dc226b69f5d72f10285bc2ad139b2c1c, reversing changes made to b2a54bc6af4bf645b5bb2601621c12b31bfbff0c.
|
#
3906bccc |
| 27-Jun-2023 |
Máté Kocsis |
Add support for typed class constants in stubs
|
#
b7860cd5 |
| 06-Jan-2023 |
Derick Rethans |
Implement More Appropriate Date/Time Exceptions RFC
|
#
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 |
|
#
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, php-8.0.22RC1, php-8.0.21, php-8.1.8, php-8.2.0alpha3 |
|
#
6ae86c23 |
| 24-Jun-2022 |
Derick Rethans |
Fixed bug #80022: Support ISO 8601 years outside 0000-9999 range better
|
#
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 ...
|
#
e13d60c0 |
| 19-Jul-2022 |
Máté Kocsis |
DatePeriod properties cannot be made readonly (#9013)
|
Revision tags: 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 |
|
#
debd38f8 |
| 02-Jun-2022 |
Máté Kocsis |
Add support for sensitive parameters in stubs
|