History log of /php-src/ext/date/php_date.stub.php (Results 26 – 50 of 60)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 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)

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

Revision tags: 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
# 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

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

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
# c31f9f7e 18-Jan-2021 Nikita Popov

Sync date_diff and DateTime::diff return type

This function/method cannot return false.

Revision tags: 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
# 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.

# b67c2321 20-Dec-2020 Christoph M. Becker

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

# 3c68f432 09-Dec-2020 Christoph M. Becker

Fix ext/date stubs

Closes GH-6523.

Revision tags: php-7.4.13RC1, php-8.0.0RC4, php-7.3.25RC1, php-7.4.12, php-8.0.0RC3, php-7.3.24
# 47bbfe1f 23-Oct-2020 Máté Kocsis

Require stubs to declare return types for magic methods when possible

Closes GH-6376

Revision tags: php-8.0.0RC2
# d6264b09 13-Oct-2020 Máté Kocsis

Verify parameter names of function aliases

Closes GH-6335

Revision tags: php-7.4.12RC1, php-7.3.24RC1
# 186612e4 09-Oct-2020 Máté Kocsis

Improve parameter names in ext/intl

Closes GH-6309

Revision tags: php-7.2.34, php-8.0.0rc1, php-7.4.11, php-7.3.23, 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, php-8.0.0beta1, php-7.4.9, php-7.2.33, php-7.3.21, 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, php-7.4.7, php-7.3.19, php-7.4.7RC1, php-7.3.19RC1
# 95f4ee38 22-May-2020 George Peter Banyard

Add some ValueErrors to ext/date

Closes GH-5613

# 046cc5e4 07-Aug-2020 Máté Kocsis

Add another round of missing parameter types to stubs

Closes GH-5950

# cdc85233 27-Jul-2020 Derick Rethans

Last pass of 'More consistent parameter names for date/time functions'

# f66627ab 26-Jul-2020 Derick Rethans

Another pass of improving ext/date argument names

# e96e4ac7 24-Jul-2020 Derick Rethans

More consistent parameter names for date/time functions

# 81d8d602 17-Jul-2020 Nikita Popov

Add missing param to DatePeriod::__construct()

The signature is very overloaded, but takes at most four params,
not three.

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, 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
# ff19ec2d 26-Feb-2020 Nikita Popov

Introduce InternalIterator

Userland classes that implement Traversable must do so either
through Iterator or IteratorAggregate. The same requirement does
not exist for internal class

Introduce InternalIterator

Userland classes that implement Traversable must do so either
through Iterator or IteratorAggregate. The same requirement does
not exist for internal classes: They can implement the internal
get_iterator mechanism, without exposing either the Iterator or
IteratorAggregate APIs. This makes them usable in get_iterator(),
but incompatible with any Iterator based APIs.

A lot of internal classes do this, because exposing the userland
APIs is simply a lot of work. This patch alleviates this issue by
providing a generic InternalIterator class, which acts as an
adapater between get_iterator and Iterator, and can be easily
used by many internal classes. At the same time, we extend the
requirement that Traversable implies Iterator or IteratorAggregate
to internal classes as well.

Closes GH-5216.

show more ...

# ffcc8135 01-May-2020 Máté Kocsis

Convert UNKNOWN default values to null in ext/date

Closes GH-5509

123