History log of /php-src/ext/date/php_date.c (Results 176 – 200 of 947)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 94938934 29-Oct-2019 Máté Kocsis

Cleanup return values when parameter parsing is unsuccessful

# 6719d3e7 29-Oct-2019 Nikita Popov

Add Z_PARAM_STRING/ARRAY_OR_NULL convenience macros

Revision tags: php-7.4.0RC5
# f9a98f6d 28-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #78751: Serialising DatePeriod converts DateTimeImmutable


# 9e4c5db7 28-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #78751: Serialising DatePeriod converts DateTimeImmutable


# 736cd93e 28-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fix #78751: Serialising DatePeriod converts DateTimeImmutable


# 89c327f8 25-Oct-2019 Christoph M. Becker

Fix #78751: Serialising DatePeriod converts DateTimeImmutable

When getting the properties of a DatePeriod instance we have to retain
the proper classes, and when restoring a DatePeriod i

Fix #78751: Serialising DatePeriod converts DateTimeImmutable

When getting the properties of a DatePeriod instance we have to retain
the proper classes, and when restoring a DatePeriod instance we have to
cater to DateTimeImmutable instances as well.

show more ...

Revision tags: php-7.1.33, php-7.2.24, php-7.3.11
# 2484f1e8 18-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.4'

* PHP-7.4:
Fix #70153 \DateInterval incorrectly unserialized


# 197568d6 18-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
Fix #70153 \DateInterval incorrectly unserialized


# c7c7ab53 18-Oct-2019 Christoph M. Becker

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
Fix #70153 \DateInterval incorrectly unserialized


Revision tags: php-7.4.0RC4, php-7.3.11RC1, php-7.2.24RC1, php-7.4.0RC3, php-7.2.23, php-7.3.10, php-7.4.0RC2
# d2cde0bf 16-Sep-2019 m.yakunin

Fix #70153 \DateInterval incorrectly unserialized

Added a separate macro for reading 'days' property, so that bool(false)
is correctly converted to the proper internal representation.

# b02b8129 07-Oct-2019 Dmitry Stogov

Comparison cleanup:

- introduce zend_compare() that returns -1,0,1 dirctly (without intermediate zval)
- remove compare_objects() object handler, and keep only compare() handler

# 647b1c7f 07-Oct-2019 Nikita Popov

Remove most uses of ZEND_PARSE_PARAMETERS_END_EX()

As ZPP now throws, it makes no sense to specify an explicit return
value.

# 5d6e923d 24-Sep-2019 Gabriel Caruso

Remove mention of PHP major version in Copyright headers

Closes GH-4732.

# 962a9cd7 19-Sep-2019 Nikita Popov

Merge branch 'PHP-7.4'


# 22516b7d 19-Sep-2019 Nikita Popov

Merge branch 'PHP-7.3' into PHP-7.4


# f53b8268 19-Sep-2019 Nikita Popov

Merge branch 'PHP-7.2' into PHP-7.3


# e3255a4f 18-Sep-2019 CJDennis

Fix typo

`sizeof("data")-1` and `sizeof("date")-1` are both 4, so no change in behaviour

Revision tags: php-7.2.23RC1, php-7.3.10RC1, php-7.4.0RC1, php-7.1.32, php-7.2.22, php-7.3.9, php-7.4.0beta4, php-7.2.22RC1, php-7.3.9RC1
# 06aa2ae9 12-Aug-2019 Craig Duncan

Update the date class arginfo the new format

# 3b2f2ce4 09-Aug-2019 Nikita Popov

Make uninitialized DateTime an Error

This avoids many spurious false return values.

Revision tags: php-7.4.0beta2, php-7.1.31, php-7.2.21, php-7.3.8, php-7.4.0beta1, php-7.2.21RC1, php-7.3.8RC1, php-7.4.0alpha3, php-7.3.7, php-7.2.20, php-7.4.0alpha2, php-7.3.7RC3
# 33886f71 18-Jun-2019 Nikita Popov

Generate arginfo from PHP stub files

Signature stubs for internal functions are specified in xyz.stub.php,
from which we generate actual arginfo structures in xyz_arginfo.h.
This fil

Generate arginfo from PHP stub files

Signature stubs for internal functions are specified in xyz.stub.php,
from which we generate actual arginfo structures in xyz_arginfo.h.
This file then needs to be included in the implementation appropriately.

Arginfo from stubs can be regenerated using scripts/dev/gen_stub.php.
However, this should also automatically happen when the stub file is
modified.

show more ...

# 527dad60 08-Aug-2019 Nikita Popov

Merge branch 'PHP-7.4'


# fc17bfaa 08-Aug-2019 Nikita Popov

Fixed bug #78383

# 7556600d 15-Jul-2019 Christoph M. Becker

Fix #65547: Default value for sunrise/sunset zenith still wrong

The value of the zenith angle to calculate sunrise and sunset times is
commonly defined as 90°50', and is "obtained by add

Fix #65547: Default value for sunrise/sunset zenith still wrong

The value of the zenith angle to calculate sunrise and sunset times is
commonly defined as 90°50', and is "obtained by adding the average
apparent radius of the Sun (16') to the average amount of atmospheric
refraction at the horizon (34')", according to
http://aa.usno.navy.mil/faq/docs/RST_defs.php.

This value is also used for the Sunrise/Sunset Algorithm published in
the Almanac for Computers, 1990, see
https://web.archive.org/web/20161202180207/http://williams.best.vwh.net/sunrise_sunset_algorithm.htm.

show more ...

# 26453687 19-Jun-2019 Joe Watkins

Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
export php_time


# 599b94ff 19-Jun-2019 Joe Watkins

export php_time

12345678910>>...38