History log of /PHP-8.4/ext/date/php_date.stub.php (Results 1 – 25 of 59)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 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 ...


# 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()


# b7860cd5 06-Jan-2023 Derick Rethans

Implement More Appropriate Date/Time Exceptions RFC


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, 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, php-8.0.20, php-8.1.7, php-8.2.0alpha1, php-7.4.30
# 21fe7275 28-May-2022 Máté Kocsis

Declare DatePeriod properties (#8534)


Revision tags: php-8.1.7RC1, php-8.0.20RC1
# 14da1cb90 22-May-2022 Máté Kocsis

Add support for class constants in stubs (#7434)


# 8b991b4a 13-May-2022 Máté Kocsis

Add static return type for DateTime*::createFrom*() when possible

Fix GH-8544


# 37b30928 12-May-2022 Máté Kocsis

Fix more specific return type hints for some ext/date methods

Ideally, these methods should have been declared with a static return type, so let's add a PHPDoc type hint + a TODO for fixing

Fix more specific return type hints for some ext/date methods

Ideally, these methods should have been declared with a static return type, so let's add a PHPDoc type hint + a TODO for fixing the issue in the future.

show more ...


Revision tags: php-8.1.6, php-8.0.19
# d54bcbb4 03-May-2022 Derick Rethans

Add DatePeriod's __serialize and __unserialize methods (#8464)


Revision tags: php-8.1.6RC1, php-8.0.19RC1
# f869a546 15-Apr-2022 Derick Rethans

Add DateInterval's __serialize and __unserialize methods


# 181623f9 14-Apr-2022 Derick Rethans

Add DateTimeZone's __serialize and __unserialize methods


# 8b2ee538 14-Apr-2022 Derick Rethans

Add DateTime/DateTimeImmutable's __serialize and __unserialize methods


Revision tags: 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, 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
# 5fbba9b9 29-Sep-2021 Kamil Tekiela

getTimestamp does not return false


Revision tags: 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
# 1bf1481a 30-Aug-2021 Máté Kocsis

Specify a few array func info entries (#7425)


# 8e6e9838 30-Aug-2021 Máté Kocsis

Add support for generating MAY_BE_ARRAY_OF_REF func info flag (#7416)


123