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

# 21fe7275 28-May-2022 Máté Kocsis

Declare DatePeriod properties (#8534)

# 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 ...

# d54bcbb4 03-May-2022 Derick Rethans

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

# 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

# 5fbba9b9 29-Sep-2021 Kamil Tekiela

getTimestamp does not return false

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

# 5e424d28 26-Aug-2021 Máté Kocsis

Fix a few ext/date return types

# 2d248c80 25-Aug-2021 Máté Kocsis

Generate optimizer func info from stubs for ext/date (#7403)

# 4b3615a3 09-Jul-2021 Nikita Popov

Deprecate strftime() and gmstrftime()

These are deprecated in favor of date()/DateTime::format() (for
locale-indendent formatting) and IntlDateFormatter::format()
(for locale-depende

Deprecate strftime() and gmstrftime()

These are deprecated in favor of date()/DateTime::format() (for
locale-indendent formatting) and IntlDateFormatter::format()
(for locale-dependent formatting).

Part of https://wiki.php.net/rfc/deprecations_php_8_1.

show more ...

# 5bb83b37 08-Jul-2021 Nikita Popov

Deprecate date_sunrise() and date_sunset()

date_sunrise() and date_sunset() are deprecated in favor of
date_sun_info().

Part of https://wiki.php.net/rfc/deprecations_php_8_1.

# 532c60cb 06-May-2021 Máté Kocsis

Add support for tentative return types of internal methods

RFC: https://wiki.php.net/rfc/internal_method_return_types

Closses GH-6971

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

Implicitly enable function entry generation when class entry generation is enabled

Closes GH-6675

# 5f210620 03-Feb-2021 Máté Kocsis

Generate class entries for a few extensions

Relates to GH-6644

# c31f9f7e 18-Jan-2021 Nikita Popov

Sync date_diff and DateTime::diff return type

This function/method cannot return false.

# 46a2c6a8 15-Nov-2020 Máté Kocsis

Fix return type of DateTimeImmutable::__set_state()

# 269936e6 26-Dec-2020 Christoph M. Becker

DateTime*::getOffset() no longer returns false as of PHP 8.0.0

Cf. <https://github.com/php/doc-en/pull/282>.

Closes GH-6539.

# 32c6c29d 20-Dec-2020 Christoph M. Becker

Revert "DateTime:: and DateTimeImmutable::getTimestamp() may return false"

This reverts commit b67c23218950eae0a153b093dcefbe14b3b40901.

12